header
header
Main Menu
Home
Eviware Store
Downloads
Products
News
Forum
Eviware Blog
Search
FAQs
Customer Area
Support
Documentation
Tutorials
CookBook
Downloads
Forum
Login Form
Welcome, Guest. Please login or register.
January 08, 2009, 09:53:35 pm
Username: Password:
Login with username, password and session length

Forgot your password?
 
Latest posts of: darshan
Welcome, Guest. Please login or register.
January 08, 2009, 09:53:35 pm
Home Help Search Login Register
News: The Forums are up! Welcome to eviware.

  Show Posts
Pages: [1]
1  soapUI / soapUI / Re: error org.apache.xmlbeans.XmlException: error: XML declaration is not well forme on: August 07, 2008, 02:15:08 am
Thanks, it was some problem with the response.it was generating some garbage characters..
2  soapUI / soapUI / error org.apache.xmlbeans.XmlException: error: XML declaration is not well forme on: August 05, 2008, 09:54:44 pm
Hi,
Iam getting a XML declaration not well formed in my response since in the response the first line is an empty line and then the normal XML file starts. Is there anyway I could get rid of that empty line..or make my scripts ignore that empty line.

def holder = groovyUtils.getXmlHolder( "activateRequest#Response" )

Thank you,
Darshan
3  soapUI / soapUI / Re: Running testStep in groovy script on: July 31, 2008, 09:08:21 pm
1) Set the Property in the property file.
2) Next write a Property Transfer from the property to the request.
3) After this write a groovy script to to read from the Property file and change the property.
This can be done as follows:
def request = testRunner.testCase.getTestStepByName( "activateRequest" );
   def property = request.getProperty( "request" );
   
   //get the property value from the Property file
   def props = testRunner.testCase.getTestStepByName("Properties");
   String sNo = props.getPropertyValue("sNo");
Here sNo is the name of the property set.
4)Use XPATH to navigate the XML file.
use this command..its powerful..
//sNo/text()
Pages: [1]


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
header header
header
header