Test Reporte
This commit is contained in:
parent
5b16970477
commit
2c219e2fa5
|
|
@ -142,6 +142,9 @@ public class AccionResource {
|
||||||
* @param entidad
|
* @param entidad
|
||||||
* @return
|
* @return
|
||||||
* @throws DominioExcepcion
|
* @throws DominioExcepcion
|
||||||
|
* @throws java.io.IOException
|
||||||
|
* @throws com.stripe.exception.StripeException
|
||||||
|
* @throws com.qsoft.dao.exception.DaoException
|
||||||
*/
|
*/
|
||||||
public SalidaAccion ejecutarAccion(EntradaAccion entrada, EntidadEnum entidad) throws DominioExcepcion, IOException, StripeException, DaoException {
|
public SalidaAccion ejecutarAccion(EntradaAccion entrada, EntidadEnum entidad) throws DominioExcepcion, IOException, StripeException, DaoException {
|
||||||
List<Object> resultado = accion.accionGenerica(entrada.getHeaderIn(), entidad, entrada.getBodyIn().getEntidades(), entrada.getBodyIn().getTipoAccion());
|
List<Object> resultado = accion.accionGenerica(entrada.getHeaderIn(), entidad, entrada.getBodyIn().getEntidades(), entrada.getBodyIn().getTipoAccion());
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,38 @@
|
||||||
|
{
|
||||||
|
"headerIn": {
|
||||||
|
"dispositivo": "WeLaptop",
|
||||||
|
"canal": null,
|
||||||
|
"medio": null,
|
||||||
|
"aplicacion": "WeMedicalProV1.0",
|
||||||
|
"tipoTransaccion": "0101112",
|
||||||
|
"usuario": "james",
|
||||||
|
"uuid": "be00033837a8ebec86c9f17e1df8f4527815684c7f45b8214d2f3839ef678a71",
|
||||||
|
"fechaHora": null,
|
||||||
|
"idioma": null,
|
||||||
|
"empresa": null,
|
||||||
|
"geolocalizacion": null
|
||||||
|
},
|
||||||
|
"bodyIn": {
|
||||||
|
"tipoAccion": 1,
|
||||||
|
"entidad": "Poliza",
|
||||||
|
"entidades": [
|
||||||
|
{
|
||||||
|
"polBroker": "PANDILLA",
|
||||||
|
"detModalidad": 26,
|
||||||
|
"detPeriodicidad": 17202,
|
||||||
|
"detSucursalIfi": 23484,
|
||||||
|
"plaCodigo": 71,
|
||||||
|
"detFormaPago": 23516,
|
||||||
|
"empCodigo": 3,
|
||||||
|
"perCedulaTitular": "1103969430",
|
||||||
|
"detTipoIdentificacion": 3,
|
||||||
|
"detIfi": 23610,
|
||||||
|
"detTipoCuenta": 17187,
|
||||||
|
"polDebito": "MIguel triana",
|
||||||
|
"detPromocion": -1,
|
||||||
|
"cedulaDebito": "0920752326",
|
||||||
|
"cuentaDebito": "45454545"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -4,62 +4,50 @@
|
||||||
"canal": null,
|
"canal": null,
|
||||||
"medio": null,
|
"medio": null,
|
||||||
"aplicacion": "WeMedicalProV1.0",
|
"aplicacion": "WeMedicalProV1.0",
|
||||||
"tipoTransaccion": "0101113",
|
"tipoTransaccion": "0101115",
|
||||||
"usuario": "1715060073",
|
"usuario": "1715060073",
|
||||||
"uuid": "9a70b93247b8ce133e48e1be7506dda9",
|
"uuid": "32c039d54d17cdb903c400e636379625aff689effbf08617b653bae17af76629",
|
||||||
"fechaHora": null,
|
"fechaHora": null,
|
||||||
"idioma": null,
|
"idioma": null,
|
||||||
"empresa": null,
|
"empresa": null,
|
||||||
"geolocalizacion": null
|
"geolocalizacion": null
|
||||||
},
|
},
|
||||||
"bodyIn": {
|
"bodyIn": {
|
||||||
"tipoAccion": 2,
|
"tipoAccion": 1,
|
||||||
"entidad": "Persona",
|
"entidad": "Plan",
|
||||||
"entidades": [
|
"entidades": [{
|
||||||
{
|
"empCodigo": 3,
|
||||||
"perCodigo": 421,
|
"detTipo": 23888,
|
||||||
"detTipoIdentificacion": 3,
|
"detModalidad": 27,
|
||||||
"perIdentificacion": "1102021886",
|
"detDeducible": 30,
|
||||||
"perApellidos": "VELASQUEZ CASTILLO",
|
"detTarifario": 32,
|
||||||
"perNombres": "PEDRO SALOMON",
|
"plaNombre": "aaa",
|
||||||
"perFechaNacimiento": "27/09/1961",
|
"plaRutaContrato": "/data/wmp/plan/aaa",
|
||||||
"perDireccion": "-Actualizar- actualizado666",
|
"plaValorAnual": 22,
|
||||||
"perNacionalidad": "ECUATORIANO",
|
"plaValorMensual": 1231,
|
||||||
"perMail": "christianpaul588@gmail.com",
|
"plaImpuesto": 12,
|
||||||
"detGenero": 17203,
|
"plaPorDescuento": 12,
|
||||||
"locCodigo": "010102",
|
"plaEdadHijos": 12,
|
||||||
"telefono": [
|
"plaEdadminTitular": 12,
|
||||||
{
|
"plaEdadTitular": 22,
|
||||||
"detTipo": 17208,
|
"plaNumBeneficiarios": 22,
|
||||||
"telNumero": "0986993675",
|
"plaProducto": "22",
|
||||||
"telObservacion": "DATO CARGADO DESDE EL SERVICIO",
|
"plaCoberturaMaxima": 22,
|
||||||
"telEstado": 1,
|
"plaValorDeducible": 22,
|
||||||
"telCodigo": 832
|
"plaCodAcess": "12",
|
||||||
}, {
|
"plaEstado": 1,
|
||||||
"detTipo": 17208,
|
"plaTipo": "21",
|
||||||
"telNumero": "072107182",
|
"plaCodExt": "22aa",
|
||||||
"telObservacion": "DATO CARGADO DESDE EL SERVICIO",
|
"coberturasPlan": [{
|
||||||
"telEstado": 1,
|
"detTipo": 23900,
|
||||||
"telCodigo": 833
|
"detPrestacion": 15044,
|
||||||
}, {
|
"detTipoModalidad": 25,
|
||||||
"detTipo": 23586,
|
"detPais": 24,
|
||||||
"telNumero": "0994757867",
|
"copCopago": 0.11,
|
||||||
"telObservacion": "",
|
"copTope": 222,
|
||||||
"telEstado": 0,
|
"copTipoTarifario": 2,
|
||||||
"telCodigo": 3607
|
"copEstado": 1
|
||||||
}
|
}]
|
||||||
],
|
}]
|
||||||
"cuentasBancarias": [
|
|
||||||
{
|
|
||||||
"cueCuenta": " ",
|
|
||||||
"detIfi": 23838,
|
|
||||||
"cueDebito": null,
|
|
||||||
"empCodigo": 2,
|
|
||||||
"cueEstado": 1,
|
|
||||||
"cueCodigo": 410
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Binary file not shown.
|
|
@ -57,7 +57,7 @@ function toggleAllBoxes() {
|
||||||
<tr>
|
<tr>
|
||||||
<td>Tests passed/Failed/Skipped:</td><td>0/0/0</td>
|
<td>Tests passed/Failed/Skipped:</td><td>0/0/0</td>
|
||||||
</tr><tr>
|
</tr><tr>
|
||||||
<td>Started on:</td><td>Wed Oct 28 14:11:21 ECT 2020</td>
|
<td>Started on:</td><td>Fri Dec 11 19:39:26 ECT 2020</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr><td>Total time:</td><td>0 seconds (5 ms)</td>
|
<tr><td>Total time:</td><td>0 seconds (5 ms)</td>
|
||||||
</tr><tr>
|
</tr><tr>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!-- Generated by org.testng.reporters.JUnitXMLReporter -->
|
<!-- Generated by org.testng.reporters.JUnitXMLReporter -->
|
||||||
<testsuite ignored="0" hostname="laptop001" failures="0" tests="0" time="0.005" errors="0" timestamp="28 oct. 2020 19:11:21 GMT">
|
<testsuite ignored="0" hostname="laptop001" failures="0" tests="0" time="0.005" errors="0" timestamp="12 dic. 2020 00:39:26 GMT">
|
||||||
</testsuite>
|
</testsuite>
|
||||||
|
|
|
||||||
|
|
@ -2,10 +2,10 @@
|
||||||
<testng-results ignored="0" total="0" passed="0" failed="0" skipped="0">
|
<testng-results ignored="0" total="0" passed="0" failed="0" skipped="0">
|
||||||
<reporter-output>
|
<reporter-output>
|
||||||
</reporter-output>
|
</reporter-output>
|
||||||
<suite started-at="2020-10-28T19:11:21Z" name="com.qsoft.test.Tester" finished-at="2020-10-28T19:11:21Z" duration-ms="5">
|
<suite started-at="2020-12-12T00:39:26Z" name="com.qsoft.test.Tester" finished-at="2020-12-12T00:39:26Z" duration-ms="5">
|
||||||
<groups>
|
<groups>
|
||||||
</groups>
|
</groups>
|
||||||
<test started-at="2020-10-28T19:11:21Z" name="Command line test" finished-at="2020-10-28T19:11:21Z" duration-ms="5">
|
<test started-at="2020-12-12T00:39:26Z" name="Command line test" finished-at="2020-12-12T00:39:26Z" duration-ms="5">
|
||||||
</test> <!-- Command line test -->
|
</test> <!-- Command line test -->
|
||||||
</suite> <!-- com.qsoft.test.Tester -->
|
</suite> <!-- com.qsoft.test.Tester -->
|
||||||
</testng-results>
|
</testng-results>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue