Skip to content

Commit

Permalink
Merge pull request #125 from Arquisoft/develop
Browse files Browse the repository at this point in the history
Coverage a master
  • Loading branch information
CANCI0 authored Apr 25, 2024
2 parents 80f82ef + 260a9d9 commit 5895f08
Show file tree
Hide file tree
Showing 166 changed files with 172,293 additions and 593 deletions.
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

0 comments on commit 5895f08

Please sign in to comment.