- Instalar vscode java
- Instalar https://sdkman.io/
- Instalar java 16 con sdkman:
sdk install java 16.0.1.hs-adpt
- Crear BD, conectar a psql y luego:
create database exams;
- Levantar app:
./mvnw spring-boot:run
mvn test
mvn jacoco:report
for test coverage
- Run test workflow folder in postman
- Install k6
- Run test stress script with k6:
k6 run stress.js
TODO:
- ejecutar prueba de performance (al iniciar un examen y actualizar una pregunta y respuesta)
postgres://wgqdtaoj:F1V-uNQm52jqTPdGCBwILP3n1RvRUnRp@sharp-elderberry.db.elephantsql.com/wgqdtaoj pg_dump -U wgqdtaoj -d wgqdtaoj -h sharp-elderberry.db.elephantsql.com -f sourcedb.sql
postgres://pidvakbc:RaRohPm06pxCmGPW6gEvD64Xo-dKkhg8@chunee.db.elephantsql.com/pidvakbc
psql -U wgqdtaoj -d wgqdtaoj -h sharp-elderberry.db.elephantsql.com
RaRohPm06pxCmGPW6gEvD64Xo-dKkhg8 psql -U pidvakbc -d pidvakbc -h chunee.db.elephantsql.com -f sourcedb.sql
postgres://paunblbp:f7vtcvvpLY02OI_s-kkTwpKLKrTN25Sl@chunee.db.elephantsql.com/paunblbp
postgres://paunblbp:f7vtcvvpLY02OI_s-kkTwpKLKrTN25Sl@chunee.db.elephantsql.com/paunblbp