ContributionsMost RecentMost LikesSolutionsquestion about datasourceI want to do this: - test request - property transfer to datasource source: step-->testRequest ; Property-->Response target: step-->Datasource -Datasource: driver, url and query this is because i want to test that the data of request are OK in the DataBase... now i have this error: Mon Jul 09 12:12:43 CEST 2007:DEBUG:Setting targetStep for transfer [return] to null is it possible? is there any examples thanks!!!Re: groovy utils - modify responseahh good!! Re: Test request - conplex xsd1. the fault message is: soapenv:Client java.lang.RuntimeException: Unexpected subelement aplicaciones org.apache.axis2.AxisFault: java.lang.RuntimeException: Unexpected subelement aplicaciones at org.apache.axis2.AxisFault.makeFault(AxisFault.java:381) at com.xx.ame4t.itg.controldeprocesos.interfaz.itg_controlprocesosservicio.ITG_ControlProcesosMessageReceiverInOut.invokeBusinessLogic(ITG_ControlProcesosMessageReceiverInOut.java:163) at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:144) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:279) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:116) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Unexpected subelement aplicaciones at com.xx.ame4t.itg.controldeprocesos.interfaz.itg_controlprocesosservicio.ITG_ControlProcesosMessageReceiverInOut.fromOM(ITG_ControlProcesosMessageReceiverInOut.java:468) at com.xx.ame4t.itg.controldeprocesos.interfaz.itg_controlprocesosservicio.ITG_ControlProcesosMessageReceiverInOut.invokeBusinessLogic(ITG_ControlProcesosMessageReceiverInOut.java:67) ... 25 more Caused by: java.lang.RuntimeException: Unexpected subelement aplicaciones at com.xx.xx.modelonodosyprocesos.model.xsd.Aplicacion$Factory.parse(Aplicacion.java:749) at com.xx.xx.modelonodosyprocesos.model.xsd.Concentrador$Factory.parse(Concentrador.java:741) at com.xx.xx.modelonodosyprocesos.model.xsd.Aplicacion$Factory.parse(Aplicacion.java:765) at com.xx.xx.modelonodosyprocesos.model.xsd.ParametrosEjecucion$Factory.parse(ParametrosEjecucion.java:903) at com.xx.xx.modelonodosyprocesos.model.xsd.Proceso$Factory.parse(Proceso.java:438) at com.xx.ame4t.itg.controldeprocesos.interfaz.itg_controlprocesosservicio.types.EjecutaProceso$Factory.parse(EjecutaProceso.java:303) at com.xx.ame4t.itg.controldeprocesos.interfaz.itg_controlprocesosservicio.ITG_ControlProcesosMessageReceiverInOut.fromOM(ITG_ControlProcesosMessageReceiverInOut.java:399) ... 26 more 2.sorry, i'd want to say: "change xsd request by xml request". for example: ... NODO_PRUEBA_C 2007-06-23T08:51:35.765Z 2007-06-23T08:51:35.765Z .... .... thanx alot!!!Re: groovy utils - modify responsegood! another question about this Testcase. Now, if i do a submit the request and works OK, there is not a Response. Then, the testcase fail: "--> Invalid/empty response"....i don't have any assertion... and i am not sure if it is a problem with the wsdl or the tool... Test request - conplex xsdI have a problem with i create a new step: Test request. the steps are: - the tool generate a automatic request (xsd). - the endpoint is http://localhost/... ( mockservice) - submit request - response --> OK - modify endpoint to specific url : http://maq:port/.. ( web service ) - submit request - response --> fault - modify xsd request by xml request - submit request - response --> OK the problem maybe because some nodes are very complex, wsdl example: ... ... thanx alot!!! JavierRe: groovy utils - modify responseyes...perfect! i try to do a testsuite with several testcase like a sequence...i am passing the values from one test to other test...it is like a simulation... thanx!!Re: groovy utils - modify responseMy "problem" is the void method: write ... i can't edit the response .. adding groovy script one idea .... use 'PropertyTransfer' .. transfer the data from response to porperty ... edit the values "?" by another ones using groovy utils...but it doesn't work. do you have another idea?? again...thanx alot!!!groovy utils - modify responsehello!! i have a method 'void' with this fault response: ? ? the next step is modify the values with the groovy utils ( script ) because i want to use "mappers" from values to property file ( propertyTransfer ). the script is: def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context ); log.info( groovyUtils.projectPath ); // create holder for last response def holder = groovyUtils.getXmlHolder( "write - Request#Response" ) holder.setNodeValue( "soap:Envelope/soap:Body/soap:Fault/soap:Code/soap:Value", "1" ); // update request with updated xml groovyUtils.setPropertyValue( "write - Request", "Response", holder.prettyXml ); this is ok...but the values of the property has this values: "?" how I could resolve it? thanx alot!!