{"info":{"_postman_id":"a3463b13-98cf-4ee3-9e3e-8afc162b222a","name":"Datos Deportivos API","description":"<html><head></head><body><p>Colección para hacer test sobre proyecto <strong><a href=\"https://github.com/LanyuEStudio/Datos-Deportivos-API\">Datos-Deportivos-API</a></strong>.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"9800655","collectionId":"a3463b13-98cf-4ee3-9e3e-8afc162b222a","publishedId":"Szme3dFP","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-11-28T12:43:24.000Z"},"item":[{"name":"Participante","item":[{"name":"GET Participante Descendente","event":[{"listen":"test","script":{"id":"088f2bf1-4b3b-437f-aac7-d569dbf29b56","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});",""],"type":"text/javascript","packages":{}}}],"id":"a4c015cd-9007-44e9-8db5-d3faae93b7d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/participantes?sort=nombre,desc","urlObject":{"path":["participantes"],"host":["http://localhost:8080/api"],"query":[{"key":"sort","value":"nombre,desc"}],"variable":[]}},"response":[],"_postman_id":"a4c015cd-9007-44e9-8db5-d3faae93b7d5"},{"name":"GET Consultas Participante","event":[{"listen":"test","script":{"id":"088f2bf1-4b3b-437f-aac7-d569dbf29b56","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});",""],"type":"text/javascript"}}],"id":"e21507d1-137d-4163-87b4-b5ec198b2b85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/participantes/search","urlObject":{"path":["participantes","search"],"host":["http://localhost:8080/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"e21507d1-137d-4163-87b4-b5ec198b2b85"},{"name":"GET Participante con un texto","event":[{"listen":"test","script":{"id":"f7bdac28-1b5f-4175-83ba-7837540f4dfb","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var txtNombre = pm.variables.get(\"txtParaNombreParticipante\");","pm.test(\"¿Los Participantes contienen el texto: '\" + txtNombre + \"'?\", function () {","    var participantes = pm.response.json()._embedded.participantes;","    for(let i = 0; i < participantes.length; i++) {","        pm.expect(participantes[i].nombre.toUpperCase()).to.include(txtNombre.toUpperCase());","    }","});"],"type":"text/javascript","packages":{}}}],"id":"95d3c686-9a4d-482e-9b8e-cf5e65ab2e93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/participantes/search/nombre?txt-que-contiene=Madrid","description":"<p>Busca un participante que incluya el texto pasado (insensible a mayúsculas/minúsculas y tildes)</p>\n","urlObject":{"path":["participantes","search","nombre"],"host":["http://localhost:8080/api"],"query":[{"key":"txt-que-contiene","value":"Madrid"}],"variable":[]}},"response":[],"_postman_id":"95d3c686-9a4d-482e-9b8e-cf5e65ab2e93"},{"name":"POST Participante","event":[{"listen":"test","script":{"id":"105384e5-cf85-4c9e-8ea9-2b6765335b79","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([201,202]);","});"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"faa24d50-8c1a-43e0-b86d-e1e95e5950c7","exec":["var randomId = Math.random().toString(36).substring(6);","pm.collectionVariables.set(\"idParticipante\", (randomId + \"(RND)\").toUpperCase());","pm.collectionVariables.set(\"nombreParticipante\", randomId + \" FC\");"],"type":"text/javascript","packages":{}}}],"id":"4d48168d-e600-4952-9aee-e9d1406f03c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"T8VJFB(RND)\",\n    \"nombre\": \"t8vjfb FC\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/participantes","urlObject":{"path":["participantes"],"host":["http://localhost:8080/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"4d48168d-e600-4952-9aee-e9d1406f03c2"},{"name":"UPDATE Participante nombre","event":[{"listen":"test","script":{"id":"105384e5-cf85-4c9e-8ea9-2b6765335b79","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"867ebc8e-c531-4bdd-9668-5728ac76961e","exec":["pm.collectionVariables.set(\"nuevoNombreParticipante\", \"Real \" + pm.variables.get(\"nombreParticipante\"));"],"type":"text/javascript"}}],"id":"7245853a-b99d-4da1-8475-a66038d82bd7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"nombre\": \"Real t8vjfb FC\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/participantes/T8VJFB(RND)","urlObject":{"path":["participantes","T8VJFB(RND)"],"host":["http://localhost:8080/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"7245853a-b99d-4da1-8475-a66038d82bd7"},{"name":"GET Participante","event":[{"listen":"test","script":{"id":"088f2bf1-4b3b-437f-aac7-d569dbf29b56","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = pm.response.json();","pm.test(\"Nuevo nombre es \" + jsonData.nombre + \"?\", function () {","    pm.expect(jsonData.nombre).to.eql(pm.variables.get(\"nuevoNombreParticipante\"));","});",""],"type":"text/javascript"}}],"id":"e1cde4aa-ed7e-4eb7-9687-37ee24796d32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/participantes/T8VJFB(RND)","urlObject":{"path":["participantes","T8VJFB(RND)"],"host":["http://localhost:8080/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"e1cde4aa-ed7e-4eb7-9687-37ee24796d32"},{"name":"DELETE Participante","event":[{"listen":"test","script":{"id":"ed7b0b15-5a90-461c-8d29-dacd08784a5a","exec":["pm.test(\"Status code is 405\", function () {","    pm.response.to.have.status(405);","});"],"type":"text/javascript"}}],"id":"3d74c77f-5c1e-4cd4-a9de-cb4b677a1d8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:8080/api/participantes/T8VJFB(RND)","description":"<p>No permitido, debe devolver código 405</p>\n","urlObject":{"path":["participantes","T8VJFB(RND)"],"host":["http://localhost:8080/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"3d74c77f-5c1e-4cd4-a9de-cb4b677a1d8d"}],"id":"34358984-4028-469e-b9eb-499abde1d1f3","description":"<p>Reune las peticiones sobre <em>Participantes</em> (equipos, etc...)</p>\n","_postman_id":"34358984-4028-469e-b9eb-499abde1d1f3"},{"name":"Partidos","item":[{"name":"GET Partidos Descendente","event":[{"listen":"test","script":{"id":"ca538331-bd3c-438c-9662-2e89cd321606","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"15656d61-8209-4a4d-8fac-292f62984f3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/partidos?sort=id,desc","urlObject":{"path":["partidos"],"host":["http://localhost:8080/api"],"query":[{"key":"sort","value":"id,desc"}],"variable":[]}},"response":[],"_postman_id":"15656d61-8209-4a4d-8fac-292f62984f3e"},{"name":"GET Partido Random","event":[{"listen":"prerequest","script":{"id":"9a7a5090-56c5-4103-b94a-961431b6d0d8","exec":["var generaIndex = (max) => Math.floor((Math.random() * max));","var index = generaIndex(parseInt(pm.variables.get(\"numeroMaxPartidos\")))","pm.sendRequest(pm.variables.get(\"host\") + \"/partidos?size=\" + index, function (err, response) {","    let partidos = response.json()._embedded.partidos;","    index = generaIndex(Math.min(partidos.length, index));","    //console.log(index, parseInt(pm.variables.get(\"numeroPartidos\")));","    pm.collectionVariables.set(\"urlPartidoActual\", partidos[index]._links.partido.href);","});"],"type":"text/javascript","packages":{}}},{"listen":"test","script":{"id":"58d5324e-e26e-40fb-92a9-488207a59462","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","pm.collectionVariables.set(\"idLocal\", pm.response.json().idLocal);","pm.collectionVariables.set(\"idVisitante\", pm.response.json().idVisitante);","pm.collectionVariables.set(\"urlSucesosPartido\", pm.response.json()._links.sucesos.href);"],"type":"text/javascript","packages":{}}}],"id":"ca19e900-c0d7-424a-888a-5b693a6c2d42","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://datos-deportivos-api.herokuapp.com/api/partidos/21","urlObject":{"host":["https://datos-deportivos-api.herokuapp.com/api/partidos/21"],"query":[],"variable":[]}},"response":[],"_postman_id":"ca19e900-c0d7-424a-888a-5b693a6c2d42"},{"name":"GET mismo Partido Random","event":[{"listen":"prerequest","script":{"id":"9a7a5090-56c5-4103-b94a-961431b6d0d8","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"58d5324e-e26e-40fb-92a9-488207a59462","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"8e401569-6bf2-4f8d-bf79-869a379e7a9a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://datos-deportivos-api.herokuapp.com/api/partidos/21","urlObject":{"host":["https://datos-deportivos-api.herokuapp.com/api/partidos/21"],"query":[],"variable":[]}},"response":[],"_postman_id":"8e401569-6bf2-4f8d-bf79-869a379e7a9a"},{"name":"GET Sucesos Partido Random","event":[{"listen":"prerequest","script":{"id":"9a7a5090-56c5-4103-b94a-961431b6d0d8","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"58d5324e-e26e-40fb-92a9-488207a59462","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"c8453ca5-004b-466b-8f6e-357e958030e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://datos-deportivos-api.herokuapp.com/api/partidos/21/sucesos","urlObject":{"host":["https://datos-deportivos-api.herokuapp.com/api/partidos/21/sucesos"],"query":[],"variable":[]}},"response":[],"_postman_id":"c8453ca5-004b-466b-8f6e-357e958030e2"},{"name":"POST Partido Random","event":[{"listen":"prerequest","script":{"id":"48aa5b96-2060-4306-99e4-631ca5e0c7e9","exec":["var local, visitante;","pm.sendRequest(pm.variables.get(\"host\") + \"/participantes?size=\" + pm.variables.get(\"numeroMaxParticipantes\"), function (err, response) {","    let participantes = response.json()._embedded.participantes;","    let generarIndex = () => Math.floor((Math.random() * participantes.length));","    local = visitante = participantes[generarIndex()];","    while(local === visitante) {","        visitante = participantes[generarIndex()];","    }","    pm.collectionVariables.set(\"localRandom\", local.id);","    pm.collectionVariables.set(\"visitanteRandom\", visitante.id);","    /*pm.collectionVariables.set(\"localRandom\", participantes[generarIndex()].id);","    pm.collectionVariables.set(\"visitanteRandom\", pm.collectionVariables.get(\"idParticipante\"));*/","});","pm.collectionVariables.set(\"timestamp\", new Date().getTime());"],"type":"text/javascript","packages":{}}},{"listen":"test","script":{"id":"382b91bc-3244-4a6c-b196-e6503eba6f92","exec":["pm.collectionVariables.unset(\"localRandom\");","pm.collectionVariables.unset(\"visitanteRandom\");","pm.collectionVariables.unset(\"timestamp\");","pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([201,202]);","});","var resp = pm.response.json();","//var id = resp._links.partido.href;","//id = id.substring(id.lastIndexOf(\"/\") + 1, id.length);","pm.collectionVariables.set(\"urlPartidoActual\", resp._links.partido.href);","pm.collectionVariables.set(\"idLocal\", resp.idLocal);","pm.collectionVariables.set(\"idVisitante\", resp.idVisitante);","pm.collectionVariables.set(\"urlSucesosPartido\", resp._links.sucesos.href);"],"type":"text/javascript","packages":{}}}],"id":"21e3dc3b-6aad-46b5-84df-d5e5f6d4190c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"idLocal\": \"{{localRandom}}\",\n    \"idVisitante\": \"{{visitanteRandom}}\",\n    \"timestamp\": {{timestamp}}\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/partidos","urlObject":{"path":["partidos"],"host":["http://localhost:8080/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"21e3dc3b-6aad-46b5-84df-d5e5f6d4190c"}],"id":"6da62714-1af6-4521-8cc6-ea95f786f53e","description":"<p>Reune las peticiones sobre <em>Partidos</em></p>\n","_postman_id":"6da62714-1af6-4521-8cc6-ea95f786f53e"},{"name":"Sucesos","item":[{"name":"GET Sucesos Descendente","id":"5077ccc0-3d70-4838-b02e-98ed5c31152a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/sucesos?sort=id,desc","urlObject":{"path":["sucesos"],"host":["http://localhost:8080/api"],"query":[{"key":"sort","value":"id,desc"}],"variable":[]}},"response":[],"_postman_id":"5077ccc0-3d70-4838-b02e-98ed5c31152a"},{"name":"POST Suceso Random en Partido Random","event":[{"listen":"prerequest","script":{"id":"9a7a5090-56c5-4103-b94a-961431b6d0d8","exec":["var participante = (Math.random() >= 0.5) ? \"idLocal\" : \"idVisitante\";","pm.collectionVariables.set(\"idLocalVisitanteRandom\", pm.variables.get(participante));","pm.collectionVariables.set(\"timestamp\", new Date().getTime());"],"type":"text/javascript"}},{"listen":"test","script":{"id":"58d5324e-e26e-40fb-92a9-488207a59462","exec":["pm.collectionVariables.unset(\"idLocalVisitanteRandom\");","pm.collectionVariables.unset(\"timestamp\");","pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([201,202]);","});"],"type":"text/javascript"}}],"id":"c8d49482-eda8-46d5-9f99-ee69dd010da5","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"idParticipante\": \"{{idLocalVisitanteRandom}}\",\n    \"timestamp\": {{timestamp}},\n    \"partido\": \"https://datos-deportivos-api.herokuapp.com/api/partidos/21\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/sucesos","urlObject":{"path":["sucesos"],"host":["http://localhost:8080/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"c8d49482-eda8-46d5-9f99-ee69dd010da5"},{"name":"POST Gol Random en Partido Random","event":[{"listen":"prerequest","script":{"id":"9a7a5090-56c5-4103-b94a-961431b6d0d8","exec":["var participante = (Math.random() >= 0.5) ? \"idLocal\" : \"idVisitante\";","pm.collectionVariables.set(\"idLocalVisitanteRandom\", pm.variables.get(participante));","pm.collectionVariables.set(\"timestamp\", new Date().getTime());"],"type":"text/javascript"}},{"listen":"test","script":{"id":"58d5324e-e26e-40fb-92a9-488207a59462","exec":["pm.collectionVariables.unset(\"idLocalVisitanteRandom\");","pm.collectionVariables.unset(\"timestamp\");","pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([201,202]);","});"],"type":"text/javascript"}}],"id":"e44bcc22-9393-442b-a050-866389f28cdb","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"idParticipante\": \"{{idLocalVisitanteRandom}}\",\n    \"timestamp\": {{timestamp}},\n    \"partido\": \"https://datos-deportivos-api.herokuapp.com/api/partidos/21\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/goles","urlObject":{"path":["goles"],"host":["http://localhost:8080/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"e44bcc22-9393-442b-a050-866389f28cdb"},{"name":"POST Tarjeta Random en Partido Random","event":[{"listen":"prerequest","script":{"id":"9a7a5090-56c5-4103-b94a-961431b6d0d8","exec":["var participante = (Math.random() >= 0.5) ? \"idLocal\" : \"idVisitante\";","var tipo = (Math.random() >= 0.2) ? \"AMARILLA\" : \"ROJA\";","pm.collectionVariables.set(\"idLocalVisitanteRandom\", pm.variables.get(participante));","pm.collectionVariables.set(\"timestamp\", new Date().getTime());","pm.collectionVariables.set(\"tipo\", tipo);"],"type":"text/javascript"}},{"listen":"test","script":{"id":"58d5324e-e26e-40fb-92a9-488207a59462","exec":["pm.collectionVariables.unset(\"idLocalVisitanteRandom\");","pm.collectionVariables.unset(\"timestamp\");","pm.collectionVariables.unset(\"tipo\");","pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([201,202]);","});"],"type":"text/javascript"}}],"id":"e1d13260-0976-4c1e-9e48-41860e96ae01","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"idParticipante\": \"{{idLocalVisitanteRandom}}\",\n    \"timestamp\": {{timestamp}},\n    \"partido\": \"https://datos-deportivos-api.herokuapp.com/api/partidos/21\",\n    \"tipoTarjeta\": \"{{tipo}}\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/tarjetas","urlObject":{"path":["tarjetas"],"host":["http://localhost:8080/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"e1d13260-0976-4c1e-9e48-41860e96ae01"}],"id":"c6fbfa9f-2d4e-4a68-9d65-75f754b649c2","description":"<p>Reune las peticiones sobre <em>Sucesos</em> (goles, tarjetas, etc...)</p>\n","_postman_id":"c6fbfa9f-2d4e-4a68-9d65-75f754b649c2"},{"name":"Funcionalidades personalizadas","item":[{"name":"GET Partidos por idParticipante","event":[{"listen":"test","script":{"id":"b40702ba-5be6-4f0a-bf0d-dd484ffb08c6","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"738aa861-69c3-4f25-bdb5-c7b4a9b4337f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/partidos/search/participante?idParticipante=NEWCAS(ING)","urlObject":{"path":["partidos","search","participante"],"host":["http://localhost:8080/api"],"query":[{"key":"idParticipante","value":"NEWCAS(ING)"}],"variable":[]}},"response":[],"_postman_id":"738aa861-69c3-4f25-bdb5-c7b4a9b4337f"},{"name":"GET Partido por Nombre Participante","event":[{"listen":"test","script":{"id":"755a00fa-3502-415f-a027-e13a513f0c10","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{}}}],"id":"3795be1a-bc25-4ffc-bd98-b40bcef477be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/partidos/search/con-nombre-participante?txt=Real t8vjfb FC","urlObject":{"path":["partidos","search","con-nombre-participante"],"host":["http://localhost:8080/api"],"query":[{"key":"txt","value":"Real t8vjfb FC"}],"variable":[]}},"response":[],"_postman_id":"3795be1a-bc25-4ffc-bd98-b40bcef477be"},{"name":"GET Sucesos de Participante","event":[{"listen":"test","script":{"id":"97796d15-d751-42af-af0c-51b56b79765b","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"a704c782-14b7-4e5c-911c-fa303170f63a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/sucesos/search/participante?idParticipante=NEWCAS(ING)","urlObject":{"path":["sucesos","search","participante"],"host":["http://localhost:8080/api"],"query":[{"key":"idParticipante","value":"NEWCAS(ING)"}],"variable":[]}},"response":[],"_postman_id":"a704c782-14b7-4e5c-911c-fa303170f63a"},{"name":"GET Sucesos después de","event":[{"listen":"test","script":{"id":"23492037-fa2d-4900-9978-8daec12edf1d","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"5303e070-301e-475d-a567-3934787543d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/sucesos/search/despues-de?comienzo=2020-01-01T00:00:00.000Z","urlObject":{"path":["sucesos","search","despues-de"],"host":["http://localhost:8080/api"],"query":[{"key":"comienzo","value":"2020-01-01T00:00:00.000Z"}],"variable":[]}},"response":[],"_postman_id":"5303e070-301e-475d-a567-3934787543d0"},{"name":"GET Sucesos entre fechas","event":[{"listen":"test","script":{"id":"30cb43d6-445f-41e9-9558-f6149fd46d02","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"94f18ed4-21d4-44ed-adf2-a7cc62fdd318","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/sucesos/search/entre-fechas?comienzo=2020-01-01T00:00:00.000Z&fin=2021-01-01T00:00:00.000Z","urlObject":{"path":["sucesos","search","entre-fechas"],"host":["http://localhost:8080/api"],"query":[{"key":"comienzo","value":"2020-01-01T00:00:00.000Z"},{"key":"fin","value":"2021-01-01T00:00:00.000Z"}],"variable":[]}},"response":[],"_postman_id":"94f18ed4-21d4-44ed-adf2-a7cc62fdd318"},{"name":"GET Sucesos Participante entre fechas","event":[{"listen":"test","script":{"id":"b90d0ee4-3753-4133-896e-d3242eb23527","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{}}}],"id":"ec10a1f2-8c08-4bca-80b7-986047440529","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/sucesos/search/participante/NEWCAS(ING)/entre-fechas?inicio=2020-01-01T00:00:00.000Z&fin=2021-01-01T00:00:00.000Z","urlObject":{"path":["sucesos","search","participante","NEWCAS(ING)","entre-fechas"],"host":["http://localhost:8080/api"],"query":[{"key":"inicio","value":"2020-01-01T00:00:00.000Z"},{"key":"fin","value":"2021-01-01T00:00:00.000Z"}],"variable":[]}},"response":[],"_postman_id":"ec10a1f2-8c08-4bca-80b7-986047440529"},{"name":"GET Participante Local o Visitante","id":"5a64dd56-875f-4ae5-9462-dec8a0461138","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/partidos/search/participante/NEWCAS(ING)?local=false","urlObject":{"path":["partidos","search","participante","NEWCAS(ING)"],"host":["http://localhost:8080/api"],"query":[{"key":"local","value":"false"}],"variable":[]}},"response":[],"_postman_id":"5a64dd56-875f-4ae5-9462-dec8a0461138"}],"id":"a94c928e-e50b-48af-aacf-e090642e071e","_postman_id":"a94c928e-e50b-48af-aacf-e090642e071e","description":""},{"name":"GET Perfil","id":"c1302aea-14a0-472b-a394-3730aaffb126","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api","urlObject":{"host":["http://localhost:8080/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"c1302aea-14a0-472b-a394-3730aaffb126"}],"event":[{"listen":"prerequest","script":{"id":"755e54d7-0376-45c0-9421-4677d5ea29b4","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"21670cda-a817-4682-a790-7c9f3bab7027","type":"text/javascript","exec":[""]}}],"variable":[{"key":"idParticipante","value":"T8VJFB(RND)"},{"key":"nombreParticipante","value":"t8vjfb FC"},{"key":"txtParaNombreParticipante","value":"Madrid"},{"key":"nuevoNombreParticipante","value":"Real t8vjfb FC"},{"key":"urlPartidoActual","value":"https://datos-deportivos-api.herokuapp.com/api/partidos/21"},{"key":"urlSucesosPartido","value":"https://datos-deportivos-api.herokuapp.com/api/partidos/21/sucesos"},{"key":"idLocal","value":"NEWCAS(ING)"},{"key":"idVisitante","value":"BOURGP(FRA)"},{"key":"numeroMaxPartidos","value":"50"},{"key":"numeroMaxParticipantes","value":"200"},{"key":"host","value":"http://localhost:8080/api"}]}