Forum Discussion
Lucas
17 years agoOccasional Contributor
It works !! I will save a lot of time using soapUI in that way !! ;D
Thanks a lot !! :D
I write below the output to probe it :
system@mule-01:~/soapui-2.5/bin:>./mockservicerunner.sh -m"Mock_Prueba" Prueba-soapui-project.xml -Djava.awt.headless=true
================================
=
= SOAPUI_HOME = /export/home/system/soapui-2.5
=
================================
soapUI 2.5 MockService Runner
Configuring log4j from [/export/home/system/soapui-2.5/bin/soapui-log4j.xml]
22:25:39,676 INFO [DefaultSoapUICore] initialized soapui-settings from [/export/home/system/soapui-2.5/soapui-settings.xml]
22:25:44,773 INFO [WsdlProject] Loaded project from [file:/export/home/system/soapui-2.5/bin/Prueba-soapui-project.xml]
22:25:50,509 INFO [SoapUIMockServiceRunner] Running MockService [Mock_Prueba] in project [Prueba]
22:25:50,511 INFO [SoapUIMockServiceRunner] Press any key to terminate
Progress: 1 - Loading Definition from cache
22:25:51,178 DEBUG [AbstractDefinitionContext] Loading Definition...
22:25:51,272 DEBUG [AbstractWsdlDefinitionLoader] Returning baseInputSource [file:C:\Documents and Settings\usuario\Mis documentos\Mis Proyectos\DEMO\SOAP UI\trunk\Soap UI\Prueba_1.5\GestionPortabilidades_MOD.wsdl]
Retrieving document at 'file:C:\Documents and Settings\usuario\Mis documentos\Mis Proyectos\DEMO\SOAP UI\trunk\Soap UI\Prueba_1.5\GestionPortabilidades_MOD.wsdl'.
22:25:52,379 DEBUG [WsdlInterfaceDefinition] Loaded WSDL: ok
22:25:52,506 INFO [SchemaUtils] Added default schema from file:/export/home/system/soapui-2.5/bin/soapui-2.5.jar!/com/eviware/soapui/resources/xsds/xop.xsd with targetNamespace http://www.w3.org/2004/08/xop/include
22:25:52,781 INFO [SchemaUtils] Added default schema from file:/export/home/system/soapui-2.5/bin/soapui-2.5.jar!/com/eviware/soapui/resources/xsds/XMLSchema.xsd with targetNamespace http://www.w3.org/2001/XMLSchema
22:25:52,875 INFO [SchemaUtils] Added default schema from file:/export/home/system/soapui-2.5/bin/soapui-2.5.jar!/com/eviware/soapui/resources/xsds/xml.xsd with targetNamespace http://www.w3.org/XML/1998/namespace
22:25:52,881 INFO [SchemaUtils] Added default schema from file:/export/home/system/soapui-2.5/bin/soapui-2.5.jar!/com/eviware/soapui/resources/xsds/swaref.xsd with targetNamespace http://ws-i.org/profiles/basic/1.1/xsd
22:25:52,888 INFO [SchemaUtils] Added default schema from file:/export/home/system/soapui-2.5/bin/soapui-2.5.jar!/com/eviware/soapui/resources/xsds/xmime200505.xsd with targetNamespace http://www.w3.org/2005/05/xmlmime
22:25:52,893 INFO [SchemaUtils] Added default schema from file:/export/home/system/soapui-2.5/bin/soapui-2.5.jar!/com/eviware/soapui/resources/xsds/xmime200411.xsd with targetNamespace http://www.w3.org/2004/11/xmlmime
22:25:52,899 INFO [SchemaUtils] Added default schema from file:/export/home/system/soapui-2.5/bin/soapui-2.5.jar!/com/eviware/soapui/resources/xsds/soapEnvelope.xsd with targetNamespace http://schemas.xmlsoap.org/soap/envelope/
22:25:52,912 INFO [SchemaUtils] Added default schema from file:/export/home/system/soapui-2.5/bin/soapui-2.5.jar!/com/eviware/soapui/resources/xsds/soapEncoding.xsd with targetNamespace http://schemas.xmlsoap.org/soap/encoding/
22:25:52,918 INFO [SchemaUtils] Added default schema from file:/export/home/system/soapui-2.5/bin/soapui-2.5.jar!/com/eviware/soapui/resources/xsds/soapEnvelope12.xsd with targetNamespace http://www.w3.org/2003/05/soap-envelope
22:25:52,931 INFO [SchemaUtils] Added default schema from file:/export/home/system/soapui-2.5/bin/soapui-2.5.jar!/com/eviware/soapui/resources/xsds/soapEncoding12.xsd with targetNamespace http://www.w3.org/2003/05/soap-encoding
22:25:52,935 INFO [SchemaUtils] Loading schema types from [file:C:\Documents and Settings\usuario\Mis documentos\Mis Proyectos\DEMO\SOAP UI\trunk\Soap UI\Prueba_1.5\GestionPortabilidades_MOD.wsdl]
22:25:52,936 INFO [SchemaUtils] Getting schema file:C:\Documents and Settings\usuario\Mis documentos\Mis Proyectos\DEMO\SOAP UI\trunk\Soap UI\Prueba_1.5\GestionPortabilidades_MOD.wsdl
22:25:55,022 DEBUG [AbstractDefinitionContext] Loaded Definition: ok
Java Accessibility Bridge for GNOME loaded.
Progress: 1 - Loading Definition from cache
22:25:55,787 DEBUG [AbstractDefinitionContext] Loading Definition...
22:25:55,789 DEBUG [AbstractWsdlDefinitionLoader] Returning baseInputSource [file:/C:/Documents and Settings/usuario/Mis documentos/Mis Proyectos/DEMO/SOAP UI/trunk/Soap UI/Prueba_1.5/GestionServicios_MOD.wsdl]
Retrieving document at 'file:/C:/Documents and Settings/usuario/Mis documentos/Mis Proyectos/DEMO/SOAP UI/trunk/Soap UI/Prueba_1.5/GestionServicios_MOD.wsdl'.
22:25:56,296 DEBUG [WsdlInterfaceDefinition] Loaded WSDL: ok
22:25:56,298 INFO [SchemaUtils] Loading schema types from [file:/C:/Documents and Settings/usuario/Mis documentos/Mis Proyectos/DEMO/SOAP UI/trunk/Soap UI/Prueba_1.5/GestionServicios_MOD.wsdl]
22:25:56,299 INFO [SchemaUtils] Getting schema file:/C:/Documents and Settings/usuario/Mis documentos/Mis Proyectos/DEMO/SOAP UI/trunk/Soap UI/Prueba_1.5/GestionServicios_MOD.wsdl
22:25:57,215 DEBUG [AbstractDefinitionContext] Loaded Definition: ok
Progress: 1 - Loading Definition from cache
22:25:57,219 DEBUG [AbstractDefinitionContext] Loading Definition...
22:25:57,220 DEBUG [AbstractWsdlDefinitionLoader] Returning baseInputSource [file:/C:/Documents and Settings/usuario/Mis documentos/Mis Proyectos/DEMO/SOAP UI/trunk/Soap UI/Prueba_1.5/GestionIncidencias_MOD.wsdl]
Retrieving document at 'file:/C:/Documents and Settings/usuario/Mis documentos/Mis Proyectos/DEMO/SOAP UI/trunk/Soap UI/Prueba_1.5/GestionIncidencias_MOD.wsdl'.
22:25:57,377 DEBUG [WsdlInterfaceDefinition] Loaded WSDL: ok
22:25:57,378 INFO [SchemaUtils] Loading schema types from [file:/C:/Documents and Settings/usuario/Mis documentos/Mis Proyectos/DEMO/SOAP UI/trunk/Soap UI/Prueba_1.5/GestionIncidencias_MOD.wsdl]
22:25:57,379 INFO [SchemaUtils] Getting schema file:/C:/Documents and Settings/usuario/Mis documentos/Mis Proyectos/DEMO/SOAP UI/trunk/Soap UI/Prueba_1.5/GestionIncidencias_MOD.wsdl
22:25:58,144 DEBUG [AbstractDefinitionContext] Loaded Definition: ok
Progress: 1 - Loading Definition from cache
22:25:58,147 DEBUG [AbstractDefinitionContext] Loading Definition...
22:25:58,148 DEBUG [AbstractWsdlDefinitionLoader] Returning baseInputSource [file:/C:/Documents and Settings/usuario/Mis documentos/Mis Proyectos/DEMO/SOAP UI/trunk/Soap UI/Prueba_1.5/GestionOperaciones_MOD.wsdl]
Retrieving document at 'file:/C:/Documents and Settings/usuario/Mis documentos/Mis Proyectos/DEMO/SOAP UI/trunk/Soap UI/Prueba_1.5/GestionOperaciones_MOD.wsdl'.
22:25:58,476 DEBUG [WsdlInterfaceDefinition] Loaded WSDL: ok
22:25:58,477 INFO [SchemaUtils] Loading schema types from [file:/C:/Documents and Settings/usuario/Mis documentos/Mis Proyectos/DEMO/SOAP UI/trunk/Soap UI/Prueba_1.5/GestionOperaciones_MOD.wsdl]
22:25:58,478 INFO [SchemaUtils] Getting schema file:/C:/Documents and Settings/usuario/Mis documentos/Mis Proyectos/DEMO/SOAP UI/trunk/Soap UI/Prueba_1.5/GestionOperaciones_MOD.wsdl
22:25:59,331 DEBUG [AbstractDefinitionContext] Loaded Definition: ok
22:25:59,871 INFO [MockEngine] Started mockService [Mock_Prueba] on port [8079] at path [/DEMO/mockPrueba]
22:25:59,872 INFO [SoapUIMockServiceRunner] MockService started on port 8079 at path [/DEMO/mockPrueba]
22:26:00,371 INFO [MockEngine] Mounted WSDL for interface [GestionPortabilidadesSoap] at [/DEMO/mockPrueba?WSDL]
22:26:00,624 INFO [MockEngine] Mounted WSDL for interface [GestionServiciosSoap] at [/DEMO/mockPrueba?WSDL]
22:26:00,736 INFO [MockEngine] Mounted WSDL for interface [GestionIncidenciasSoap] at [/DEMO/mockPrueba?WSDL]
22:26:01,077 INFO [MockEngine] Mounted WSDL for interface [GestionOperacionesSoap] at [/DEMO/mockPrueba?WSDL]
22:26:01,079 INFO [SoapUIMockServiceRunner] Started 1 runner
Press any key to terminate...
Thanks a lot !! :D
I write below the output to probe it :
system@mule-01:~/soapui-2.5/bin:>./mockservicerunner.sh -m"Mock_Prueba" Prueba-soapui-project.xml -Djava.awt.headless=true
================================
=
= SOAPUI_HOME = /export/home/system/soapui-2.5
=
================================
soapUI 2.5 MockService Runner
Configuring log4j from [/export/home/system/soapui-2.5/bin/soapui-log4j.xml]
22:25:39,676 INFO [DefaultSoapUICore] initialized soapui-settings from [/export/home/system/soapui-2.5/soapui-settings.xml]
22:25:44,773 INFO [WsdlProject] Loaded project from [file:/export/home/system/soapui-2.5/bin/Prueba-soapui-project.xml]
22:25:50,509 INFO [SoapUIMockServiceRunner] Running MockService [Mock_Prueba] in project [Prueba]
22:25:50,511 INFO [SoapUIMockServiceRunner] Press any key to terminate
Progress: 1 - Loading Definition from cache
22:25:51,178 DEBUG [AbstractDefinitionContext] Loading Definition...
22:25:51,272 DEBUG [AbstractWsdlDefinitionLoader] Returning baseInputSource [file:C:\Documents and Settings\usuario\Mis documentos\Mis Proyectos\DEMO\SOAP UI\trunk\Soap UI\Prueba_1.5\GestionPortabilidades_MOD.wsdl]
Retrieving document at 'file:C:\Documents and Settings\usuario\Mis documentos\Mis Proyectos\DEMO\SOAP UI\trunk\Soap UI\Prueba_1.5\GestionPortabilidades_MOD.wsdl'.
22:25:52,379 DEBUG [WsdlInterfaceDefinition] Loaded WSDL: ok
22:25:52,506 INFO [SchemaUtils] Added default schema from file:/export/home/system/soapui-2.5/bin/soapui-2.5.jar!/com/eviware/soapui/resources/xsds/xop.xsd with targetNamespace http://www.w3.org/2004/08/xop/include
22:25:52,781 INFO [SchemaUtils] Added default schema from file:/export/home/system/soapui-2.5/bin/soapui-2.5.jar!/com/eviware/soapui/resources/xsds/XMLSchema.xsd with targetNamespace http://www.w3.org/2001/XMLSchema
22:25:52,875 INFO [SchemaUtils] Added default schema from file:/export/home/system/soapui-2.5/bin/soapui-2.5.jar!/com/eviware/soapui/resources/xsds/xml.xsd with targetNamespace http://www.w3.org/XML/1998/namespace
22:25:52,881 INFO [SchemaUtils] Added default schema from file:/export/home/system/soapui-2.5/bin/soapui-2.5.jar!/com/eviware/soapui/resources/xsds/swaref.xsd with targetNamespace http://ws-i.org/profiles/basic/1.1/xsd
22:25:52,888 INFO [SchemaUtils] Added default schema from file:/export/home/system/soapui-2.5/bin/soapui-2.5.jar!/com/eviware/soapui/resources/xsds/xmime200505.xsd with targetNamespace http://www.w3.org/2005/05/xmlmime
22:25:52,893 INFO [SchemaUtils] Added default schema from file:/export/home/system/soapui-2.5/bin/soapui-2.5.jar!/com/eviware/soapui/resources/xsds/xmime200411.xsd with targetNamespace http://www.w3.org/2004/11/xmlmime
22:25:52,899 INFO [SchemaUtils] Added default schema from file:/export/home/system/soapui-2.5/bin/soapui-2.5.jar!/com/eviware/soapui/resources/xsds/soapEnvelope.xsd with targetNamespace http://schemas.xmlsoap.org/soap/envelope/
22:25:52,912 INFO [SchemaUtils] Added default schema from file:/export/home/system/soapui-2.5/bin/soapui-2.5.jar!/com/eviware/soapui/resources/xsds/soapEncoding.xsd with targetNamespace http://schemas.xmlsoap.org/soap/encoding/
22:25:52,918 INFO [SchemaUtils] Added default schema from file:/export/home/system/soapui-2.5/bin/soapui-2.5.jar!/com/eviware/soapui/resources/xsds/soapEnvelope12.xsd with targetNamespace http://www.w3.org/2003/05/soap-envelope
22:25:52,931 INFO [SchemaUtils] Added default schema from file:/export/home/system/soapui-2.5/bin/soapui-2.5.jar!/com/eviware/soapui/resources/xsds/soapEncoding12.xsd with targetNamespace http://www.w3.org/2003/05/soap-encoding
22:25:52,935 INFO [SchemaUtils] Loading schema types from [file:C:\Documents and Settings\usuario\Mis documentos\Mis Proyectos\DEMO\SOAP UI\trunk\Soap UI\Prueba_1.5\GestionPortabilidades_MOD.wsdl]
22:25:52,936 INFO [SchemaUtils] Getting schema file:C:\Documents and Settings\usuario\Mis documentos\Mis Proyectos\DEMO\SOAP UI\trunk\Soap UI\Prueba_1.5\GestionPortabilidades_MOD.wsdl
22:25:55,022 DEBUG [AbstractDefinitionContext] Loaded Definition: ok
Java Accessibility Bridge for GNOME loaded.
Progress: 1 - Loading Definition from cache
22:25:55,787 DEBUG [AbstractDefinitionContext] Loading Definition...
22:25:55,789 DEBUG [AbstractWsdlDefinitionLoader] Returning baseInputSource [file:/C:/Documents and Settings/usuario/Mis documentos/Mis Proyectos/DEMO/SOAP UI/trunk/Soap UI/Prueba_1.5/GestionServicios_MOD.wsdl]
Retrieving document at 'file:/C:/Documents and Settings/usuario/Mis documentos/Mis Proyectos/DEMO/SOAP UI/trunk/Soap UI/Prueba_1.5/GestionServicios_MOD.wsdl'.
22:25:56,296 DEBUG [WsdlInterfaceDefinition] Loaded WSDL: ok
22:25:56,298 INFO [SchemaUtils] Loading schema types from [file:/C:/Documents and Settings/usuario/Mis documentos/Mis Proyectos/DEMO/SOAP UI/trunk/Soap UI/Prueba_1.5/GestionServicios_MOD.wsdl]
22:25:56,299 INFO [SchemaUtils] Getting schema file:/C:/Documents and Settings/usuario/Mis documentos/Mis Proyectos/DEMO/SOAP UI/trunk/Soap UI/Prueba_1.5/GestionServicios_MOD.wsdl
22:25:57,215 DEBUG [AbstractDefinitionContext] Loaded Definition: ok
Progress: 1 - Loading Definition from cache
22:25:57,219 DEBUG [AbstractDefinitionContext] Loading Definition...
22:25:57,220 DEBUG [AbstractWsdlDefinitionLoader] Returning baseInputSource [file:/C:/Documents and Settings/usuario/Mis documentos/Mis Proyectos/DEMO/SOAP UI/trunk/Soap UI/Prueba_1.5/GestionIncidencias_MOD.wsdl]
Retrieving document at 'file:/C:/Documents and Settings/usuario/Mis documentos/Mis Proyectos/DEMO/SOAP UI/trunk/Soap UI/Prueba_1.5/GestionIncidencias_MOD.wsdl'.
22:25:57,377 DEBUG [WsdlInterfaceDefinition] Loaded WSDL: ok
22:25:57,378 INFO [SchemaUtils] Loading schema types from [file:/C:/Documents and Settings/usuario/Mis documentos/Mis Proyectos/DEMO/SOAP UI/trunk/Soap UI/Prueba_1.5/GestionIncidencias_MOD.wsdl]
22:25:57,379 INFO [SchemaUtils] Getting schema file:/C:/Documents and Settings/usuario/Mis documentos/Mis Proyectos/DEMO/SOAP UI/trunk/Soap UI/Prueba_1.5/GestionIncidencias_MOD.wsdl
22:25:58,144 DEBUG [AbstractDefinitionContext] Loaded Definition: ok
Progress: 1 - Loading Definition from cache
22:25:58,147 DEBUG [AbstractDefinitionContext] Loading Definition...
22:25:58,148 DEBUG [AbstractWsdlDefinitionLoader] Returning baseInputSource [file:/C:/Documents and Settings/usuario/Mis documentos/Mis Proyectos/DEMO/SOAP UI/trunk/Soap UI/Prueba_1.5/GestionOperaciones_MOD.wsdl]
Retrieving document at 'file:/C:/Documents and Settings/usuario/Mis documentos/Mis Proyectos/DEMO/SOAP UI/trunk/Soap UI/Prueba_1.5/GestionOperaciones_MOD.wsdl'.
22:25:58,476 DEBUG [WsdlInterfaceDefinition] Loaded WSDL: ok
22:25:58,477 INFO [SchemaUtils] Loading schema types from [file:/C:/Documents and Settings/usuario/Mis documentos/Mis Proyectos/DEMO/SOAP UI/trunk/Soap UI/Prueba_1.5/GestionOperaciones_MOD.wsdl]
22:25:58,478 INFO [SchemaUtils] Getting schema file:/C:/Documents and Settings/usuario/Mis documentos/Mis Proyectos/DEMO/SOAP UI/trunk/Soap UI/Prueba_1.5/GestionOperaciones_MOD.wsdl
22:25:59,331 DEBUG [AbstractDefinitionContext] Loaded Definition: ok
22:25:59,871 INFO [MockEngine] Started mockService [Mock_Prueba] on port [8079] at path [/DEMO/mockPrueba]
22:25:59,872 INFO [SoapUIMockServiceRunner] MockService started on port 8079 at path [/DEMO/mockPrueba]
22:26:00,371 INFO [MockEngine] Mounted WSDL for interface [GestionPortabilidadesSoap] at [/DEMO/mockPrueba?WSDL]
22:26:00,624 INFO [MockEngine] Mounted WSDL for interface [GestionServiciosSoap] at [/DEMO/mockPrueba?WSDL]
22:26:00,736 INFO [MockEngine] Mounted WSDL for interface [GestionIncidenciasSoap] at [/DEMO/mockPrueba?WSDL]
22:26:01,077 INFO [MockEngine] Mounted WSDL for interface [GestionOperacionesSoap] at [/DEMO/mockPrueba?WSDL]
22:26:01,079 INFO [SoapUIMockServiceRunner] Started 1 runner
Press any key to terminate...
Related Content
- 2 years ago
- 8 years ago
- 12 years ago
- 5 years ago
Recent Discussions
- 15 years ago