Forum Discussion
alibaba82
16 years agoSuper Contributor
I get the following error
Wed Mar 11 08:54:17 PDT 2009:ERROR:An error occured [No such property: httpRequest for class: com.eviware.soapui.impl.wsdl.teststeps.WsdlRunTestCaseTestStep], see error log for details
my load script function is
gb.SetEndPoints(project, context)
void SetEndPoints(project, context)
{
//pretty print XML request in interfaces
for(i in project.interfaceList)
{
for(o in i.operationList)
{
for(r in o.requestList)
{
r.requestContent = XmlUtils.prettyPrintXml(r.requestContent);
}
}
}
// pretty print XML request in all test cases
for(s in project.testSuiteList)
{
for(c in s.testCaseList)
{
for(st in c.testStepList)
{
def r = st.httpRequest;
r.requestContent = XmlUtils.prettyPrintXml(r.requestContent);
}
}
}
.......
Wed Mar 11 08:54:17 PDT 2009:ERROR:An error occured [No such property: httpRequest for class: com.eviware.soapui.impl.wsdl.teststeps.WsdlRunTestCaseTestStep], see error log for details
my load script function is
gb.SetEndPoints(project, context)
void SetEndPoints(project, context)
{
//pretty print XML request in interfaces
for(i in project.interfaceList)
{
for(o in i.operationList)
{
for(r in o.requestList)
{
r.requestContent = XmlUtils.prettyPrintXml(r.requestContent);
}
}
}
// pretty print XML request in all test cases
for(s in project.testSuiteList)
{
for(c in s.testCaseList)
{
for(st in c.testStepList)
{
def r = st.httpRequest;
r.requestContent = XmlUtils.prettyPrintXml(r.requestContent);
}
}
}
.......
Related Content
- 7 years agocata12
- 2 years agoLennSar
- 4 years agojamadarshivani