Contributions
Can I force SoapUI to keep open/close tags for empty element
Hi all, I'm having a problem with the way SoapUI Pro is displaying my response. In the HTTP log I can see the response for a given element is coming back as: <Tag></Tag> However, in the Reponse XML tab the element displays as: <Tag/> I need to use the response to construct other payloads and want to keep the <Tag></Tag> format that's returned in my response so I don't have to do that manually. Is there a property or a way to force SoapUI to keep the Open and Close tags instead of converting it to an empty-element tag in the XML response tab? Thanks, -Chris1.1KViews0likes1Commentjavax.net.ssl.SSLPeerUnverifiedException: peer not authentic
Hi all, I've recently installed a new instance of SoapUI 4.0.2 (nightly build) on a system in my lab. The new system is across a subnet boundary from the target soap service bus machine and I'm having problems with 'peer not authenitated' errors. I can run the same test just fine from another machine in the same subnet but the new machine fails with the javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated error. I can run JDBC commands just fine, but any HTTPS based soap requrest fails with the error. I did originally install 4.5 beta on the machine then removed it and installed 4.0.2 - I've seen some issues related to 4.5 with a similar error and wonder if I have leftover files/settings possibly causing this, or if there is some settings I'm missing to allow me to work. Here's the full stack trace from the error log: Mon Mar 12 21:57:51 CDT 2012:ERROR:javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at sun.security.ssl.SSLSessionImpl.getPeerCertificates(Unknown Source) at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128) at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:390) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148) at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149) at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121) at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:561) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754) at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$Helper.execute(HttpClientSupport.java:107) at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport.execute(HttpClientSupport.java:208) at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:198) at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:123) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Any suggestions as to where to start? Anyone? Thanks in advance, Chris13 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.7KViews0likes4CommentsXPath to select specific child element failing
Hi all, I'm have issues with trying to select a specific child element in a XML response tree. If I do a Get Data I can get the specific child element but it is referenced by the index number. (ex: User[1]) However, I can't always rely that the order will be the same each time. So I was trying to use standard XPath to specify the element based on one of it's child elements. Here's a example of my result set: <Users xmlns="urn:dell.com:vis:schema:1.0"> <User isGroup="true" role="none"> <Username>Allowed RODC Password Replication Group</Username> <SID>S-1-5-21-1751981889-2362576111-3010046495-571</SID> </User> <User isGroup="false" role="none"> <Username>amiller</Username> <FullName>Andy Miller</FullName> <Email>amiller@MavCustEnv01.com</Email> <SID>S-1-5-21-1751981889-2362576111-3010046495-1171</SID> </User> <User isGroup="false" role="none"> <Username>atannuru</Username> <FullName>Anil Tannuru</FullName> <Email>atannuru@MavCustEnv01.com</Email> <SID>S-1-5-21-1751981889-2362576111-3010046495-1175</SID> </User> <User isGroup="false" role="none"> <Username>azacharski</Username> <FullName>Adam Zacharski</FullName> <Email>azacharski@MavCustEnv01.com</Email> <SID>S-1-5-21-1751981889-2362576111-3010046495-1172</SID> </User> </Users> In a subsequent step I reference the response using: ${Get User Info#ResponseAsXml#declare namespace ns1='urn:dell.com:vis:schema:1.0'; //ns1:User[2]} And this does return the User element for amiller: <User isGroup="false" role="none"> <Username>amiller</Username> <FullName>Andy Miller</FullName> <Email>amiller@MavCustEnv01.com</Email> <SID>S-1-5-21-1751981889-2362576111-3010046495-1171</SID> </User> However, if I try instead to use standard XPathing to get that node: ${Get User Info#ResponseAsXml#declare namespace ns1='urn:dell.com:vis:schema:1.0'; //ns1:User[Username = "amiller"]} This returns an empty set. Can anyone see any obvious mistake I'm making? Is there a different way to reference the child element name? Any help would be greatly appreciated! Thanks, -Chris1.2KViews0likes0Comments