Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coverage a master #125

Merged
merged 54 commits into from
Apr 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
5dbed1e
Añadida validacion de gamemode al guardar partida
iyanfdezz Apr 22, 2024
8ae83f2
Añadido test e2e de login
iyanfdezz Apr 22, 2024
0884484
Añadido test e2e de perfil
iyanfdezz Apr 22, 2024
14ea512
Corregidos errores y añadido test e2e de Sobre nosotros
iyanfdezz Apr 22, 2024
4cb9102
Añadido test e2e de logout
iyanfdezz Apr 22, 2024
7949ab4
Añadido test e2e para Config
iyanfdezz Apr 22, 2024
7d1d5d6
Añadido test e2e para History
iyanfdezz Apr 22, 2024
b2edb03
Añadido nuevo icono de la aplicación
iyanfdezz Apr 23, 2024
7415b42
Fix
iyanfdezz Apr 23, 2024
9dd13ce
Cambio de color en el logo
iyanfdezz Apr 23, 2024
d316a5c
Arreglando UI de error de Ranking
iyanfdezz Apr 23, 2024
71fdcb0
Borrado start.bat
CANCI0 Apr 23, 2024
3d7584b
Merge branch 'develop' of https://github.com/Arquisoft/wiq_es1a into …
CANCI0 Apr 23, 2024
bab31aa
.vscode borrado
CANCI0 Apr 23, 2024
780cbdf
Añadidos futbolistas y clubes
CANCI0 Apr 23, 2024
ab24e78
Más temáticas añadidas
CANCI0 Apr 23, 2024
1b81073
Ya debería funcionar correctamente
CANCI0 Apr 23, 2024
02c6c1a
Error en el guardado de partidas solucionado
CANCI0 Apr 23, 2024
206f24b
Test de user service arreglado
CANCI0 Apr 23, 2024
d08a580
Merge pull request #132 from Arquisoft/130-añadir-plantillas-de-pregu…
CANCI0 Apr 23, 2024
7b395cf
Añadido test e2e de Stats
iyanfdezz Apr 23, 2024
dc23a2b
Datos internacionalizadoss
CANCI0 Apr 23, 2024
d82787d
Merge pull request #134 from Arquisoft/133-internacionalizar-los-dato…
CANCI0 Apr 23, 2024
eb7f30d
Añadidos test e2e de ranking para cambiar modo de juego y filtrado
iyanfdezz Apr 23, 2024
4afa59f
Test e2e para UsersPage (añadir un amigo)
iyanfdezz Apr 23, 2024
e9b3f06
Añadido test e2e para crear grupo
iyanfdezz Apr 23, 2024
6b2b003
Test e2e para responder una pregunta del clasico
iyanfdezz Apr 23, 2024
a739b07
Test e2e para responder una pregunta mal en calculadora
iyanfdezz Apr 23, 2024
2e15b16
Cambiando a jordi
iyanfdezz Apr 23, 2024
4064662
Fixes
iyanfdezz Apr 23, 2024
7b32747
Fixes
iyanfdezz Apr 24, 2024
6bb0fc5
Añadidos tests de carga
CANCI0 Apr 24, 2024
fc02c70
Merge pull request #137 from Arquisoft/108-realizar-test-de-carga
CANCI0 Apr 24, 2024
ac2e89a
Fixes y añadidos al NavBar links de config y sobre nosotros
iyanfdezz Apr 24, 2024
77e76db
Eliminando test e2e innecesarios
iyanfdezz Apr 24, 2024
d22047a
Añadido apartado de testing a la documentación
CANCI0 Apr 24, 2024
fee90a7
Añadidas conclusiones
CANCI0 Apr 24, 2024
72fdc96
More fixes
iyanfdezz Apr 24, 2024
3a28848
Eliminando más test innecesarios
iyanfdezz Apr 24, 2024
1650f67
Ya va el e2e de classic
iyanfdezz Apr 24, 2024
c89893c
Ya va el e2e de calculadora
iyanfdezz Apr 24, 2024
dfc1e4c
Añadido test e2e de bateria
iyanfdezz Apr 24, 2024
91c4ddc
Añadido test de creacion de grupo
iyanfdezz Apr 24, 2024
7a67ba7
Fixes
iyanfdezz Apr 24, 2024
46efcab
Ya funciona el e2e de crear grupo
iyanfdezz Apr 24, 2024
728e282
Test e2e de añadir amigo funciona
iyanfdezz Apr 24, 2024
f69f88c
Merge pull request #135 from Arquisoft/e2e-testing
iyanfdezz Apr 24, 2024
4bb482b
Little fix
iyanfdezz Apr 24, 2024
18c929f
Arreglado el error de duplicación al agregar amigo
iyanfdezz Apr 24, 2024
f4377d1
Formato
iyanfdezz Apr 24, 2024
a806370
Merge pull request #138 from Arquisoft/fixes-friends
iyanfdezz Apr 24, 2024
7fe7869
Merge pull request #140 from Arquisoft/131-apartado-de-tests-en-docum…
CANCI0 Apr 25, 2024
697122d
Arreglados tests de calculadora
CANCI0 Apr 25, 2024
260a9d9
Tests UsersPage arreglados
CANCI0 Apr 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
coverage
docs/build
docs/build
.vscode
1 change: 0 additions & 1 deletion .vscode/settings.json

This file was deleted.

Binary file added docs/images/12-loadtest.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 6 additions & 2 deletions docs/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,11 @@ include::src/10_quality_requirements.adoc[]
include::src/11_technical_risks.adoc[]

<<<<
// 12. Glossary
include::src/12_glossary.adoc[]
// 12. Testing
include::src/12_testing.adoc[]

<<<<
// 13. Glossary
include::src/13_glossary.adoc[]


14 changes: 14 additions & 0 deletions docs/src/12_testing.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
ifndef::imagesdir[:imagesdir: ../images]

== Testing

This section details the results of the various types of tests that have been carried out with the application.

=== Load Testing
We used Gatling to perform load testing on the application. It consisted of simulating 1000 users accessing the application at the same time, each of one performing 83 requests. The results of the test are shown below:

image::12-loadtest.png[]

As we can see in Gatling's report, the application was able to handle a load of 70868 requests. In particular, 81% of the requests were successful in less than 800 milliseconds, 6% in more than 1200 milliseconds and 13% were unsuccessful.

This shows that the application is able to handle a large number of requests in a short period of time, with a high success rate. We can also be sure that the application is able to handle a large number of users accessing it at the same time in production.
File renamed without changes.
4 changes: 2 additions & 2 deletions gatewayservice/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ paths:
name: tematica
schema:
type: string
enum: [paises, literatura, cine, arte, programacion]
enum: [paises, literatura, cine, arte, programacion, "futbolistas", "clubes", "baloncestistas", "politica", "videojuegos"]
description: Category of questions to retrieve
- in: query
name: n
Expand Down Expand Up @@ -468,7 +468,7 @@ paths:
properties:
tematicas:
type: string
enum: [paises, literatura, cine, arte, programacion]
enum: [paises, literatura, cine, arte, programacion, "futbolistas", "clubes", "baloncestistas", "politica", "videojuegos"]
n:
type: integer
locale:
Expand Down
Loading