Skip to content
Snippets Groups Projects
Commit 9cfdc649 authored by Jan Pokorný's avatar Jan Pokorný :lifter_tone2:
Browse files

Adding Scenarios, running scenario into README.md

parent 38b91e44
No related branches found
No related tags found
1 merge request!37M3 locust
......@@ -71,10 +71,28 @@ System has three authorization roles - **Lecturer**, **Student** and **Admin**.
## Module services
- **module-language-school**
- **module-certificate**
- **module-exercice**
- **module-mail**
- **module-language-school** (port 5000)
- **module-certificate** (port 5001)
- **module-exercise** (port 5002)
- **module-mail** (port 5003)
# System Scenarios
## Enrollment and Lecture Selection Process
A lecturer authenticates into the system, creates a few courses with arbitrary names, capacities, languages and proficiencies, and adds themself to those courses. The lecturer then creates corresponding lectures for those courses, assigning them to specific date-times and appointing them a topic and capacity.
Meanwhile, an arbitrary number of students authenticate into the system and access a list of available courses for enrollment. They browse through the list of courses, read the descriptions, and select the ones they are interested in. Once they choose, they try to enrol in those courses. The system checks if any seats are left, and if there are, the students are successfully enrolled.
After enrolling in the courses, the students browse through the list of lectures for their enrolled courses and select the ones they would like to attend. They check the dates and times of the lectures, and if they find a suitable one, they enrol in that lecture. Once again, the system checks if there are any available seats for the selected lectures and if there are, the students are successfully enrolled.
_**tldr;**_ scenario mimics the _cliché_ school system lecture/course enrollment process, where students _fight_ against others for any available seats in courses and lectures they are interested in. It also demonstrates the ability of the system to handle multiple users simultaneously, ensuring that the enrollment process is seamless and hassle-free.
- **Running the scenario**:
~~~console
cd ./application
docker-compose up
locust
~~~
# Diagrams
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment