Test Reporte
This commit is contained in:
parent
5b16970477
commit
2c219e2fa5
|
|
@ -142,6 +142,9 @@ public class AccionResource {
|
|||
* @param entidad
|
||||
* @return
|
||||
* @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 {
|
||||
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,
|
||||
"medio": null,
|
||||
"aplicacion": "WeMedicalProV1.0",
|
||||
"tipoTransaccion": "0101113",
|
||||
"tipoTransaccion": "0101115",
|
||||
"usuario": "1715060073",
|
||||
"uuid": "9a70b93247b8ce133e48e1be7506dda9",
|
||||
"uuid": "32c039d54d17cdb903c400e636379625aff689effbf08617b653bae17af76629",
|
||||
"fechaHora": null,
|
||||
"idioma": null,
|
||||
"empresa": null,
|
||||
"geolocalizacion": null
|
||||
},
|
||||
"bodyIn": {
|
||||
"tipoAccion": 2,
|
||||
"entidad": "Persona",
|
||||
"entidades": [
|
||||
{
|
||||
"perCodigo": 421,
|
||||
"detTipoIdentificacion": 3,
|
||||
"perIdentificacion": "1102021886",
|
||||
"perApellidos": "VELASQUEZ CASTILLO",
|
||||
"perNombres": "PEDRO SALOMON",
|
||||
"perFechaNacimiento": "27/09/1961",
|
||||
"perDireccion": "-Actualizar- actualizado666",
|
||||
"perNacionalidad": "ECUATORIANO",
|
||||
"perMail": "christianpaul588@gmail.com",
|
||||
"detGenero": 17203,
|
||||
"locCodigo": "010102",
|
||||
"telefono": [
|
||||
{
|
||||
"detTipo": 17208,
|
||||
"telNumero": "0986993675",
|
||||
"telObservacion": "DATO CARGADO DESDE EL SERVICIO",
|
||||
"telEstado": 1,
|
||||
"telCodigo": 832
|
||||
}, {
|
||||
"detTipo": 17208,
|
||||
"telNumero": "072107182",
|
||||
"telObservacion": "DATO CARGADO DESDE EL SERVICIO",
|
||||
"telEstado": 1,
|
||||
"telCodigo": 833
|
||||
}, {
|
||||
"detTipo": 23586,
|
||||
"telNumero": "0994757867",
|
||||
"telObservacion": "",
|
||||
"telEstado": 0,
|
||||
"telCodigo": 3607
|
||||
}
|
||||
],
|
||||
"cuentasBancarias": [
|
||||
{
|
||||
"cueCuenta": " ",
|
||||
"detIfi": 23838,
|
||||
"cueDebito": null,
|
||||
"empCodigo": 2,
|
||||
"cueEstado": 1,
|
||||
"cueCodigo": 410
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
"tipoAccion": 1,
|
||||
"entidad": "Plan",
|
||||
"entidades": [{
|
||||
"empCodigo": 3,
|
||||
"detTipo": 23888,
|
||||
"detModalidad": 27,
|
||||
"detDeducible": 30,
|
||||
"detTarifario": 32,
|
||||
"plaNombre": "aaa",
|
||||
"plaRutaContrato": "/data/wmp/plan/aaa",
|
||||
"plaValorAnual": 22,
|
||||
"plaValorMensual": 1231,
|
||||
"plaImpuesto": 12,
|
||||
"plaPorDescuento": 12,
|
||||
"plaEdadHijos": 12,
|
||||
"plaEdadminTitular": 12,
|
||||
"plaEdadTitular": 22,
|
||||
"plaNumBeneficiarios": 22,
|
||||
"plaProducto": "22",
|
||||
"plaCoberturaMaxima": 22,
|
||||
"plaValorDeducible": 22,
|
||||
"plaCodAcess": "12",
|
||||
"plaEstado": 1,
|
||||
"plaTipo": "21",
|
||||
"plaCodExt": "22aa",
|
||||
"coberturasPlan": [{
|
||||
"detTipo": 23900,
|
||||
"detPrestacion": 15044,
|
||||
"detTipoModalidad": 25,
|
||||
"detPais": 24,
|
||||
"copCopago": 0.11,
|
||||
"copTope": 222,
|
||||
"copTipoTarifario": 2,
|
||||
"copEstado": 1
|
||||
}]
|
||||
}]
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
|
@ -57,7 +57,7 @@ function toggleAllBoxes() {
|
|||
<tr>
|
||||
<td>Tests passed/Failed/Skipped:</td><td>0/0/0</td>
|
||||
</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><td>Total time:</td><td>0 seconds (5 ms)</td>
|
||||
</tr><tr>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- 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>
|
||||
|
|
|
|||
|
|
@ -2,10 +2,10 @@
|
|||
<testng-results ignored="0" total="0" passed="0" failed="0" skipped="0">
|
||||
<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>
|
||||
<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 -->
|
||||
</suite> <!-- com.qsoft.test.Tester -->
|
||||
</testng-results>
|
||||
|
|
|
|||
Loading…
Reference in New Issue