Skip to content
This repository was archived by the owner on Aug 1, 2021. It is now read-only.

Commit 86bf25d

Browse files
committed
stress tests
1 parent dc500a9 commit 86bf25d

18 files changed

Lines changed: 76 additions & 19 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
![image](https://github.com/brunohbrito/JP-Project/blob/master/docs/images/logo.png?raw=true)
22

33
[![Build status](https://ci.appveyor.com/api/projects/status/08v6mg6q439x16xt?svg=true)](https://ci.appveyor.com/project/brunohbrito/jp-project)
4-
[![Build Status](https://dev.azure.com/brunohbrito/JpProject/_apis/build/status/brunohbrito.JPProject.IdentityServer4.AdminUI?branchName=master)](https://dev.azure.com/brunohbrito/JpProject/_build/latest?definitionId=2&branchName=master)
4+
[![Build Status](https://dev.azure.com/brunohbrito/JpProject/_apis/build/status/JPProject%20CD%20Build?branchName=master)](https://dev.azure.com/brunohbrito/JpProject/_build/latest?definitionId=2&branchName=master)
55
[![License](https://img.shields.io/github/license/brunohbrito/jp-project.svg)](LICENSE)
66
![DOCS](https://readthedocs.org/projects/jp-project/badge/?version=latest&style=flat)
77

37.6 KB
Loading
145 KB
Loading

docs/images/stress/cpu.JPG

21.5 KB
Loading
290 KB
Loading
24.7 KB
Loading
49.1 KB
Loading

docs/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ There are several ways we can help you out.
6060
intro/contributing
6161
intro/code_of_conduct
6262
intro/contributors.md
63+
intro/stress_test_results
6364

6465
.. toctree::
6566
:maxdepth: 2

docs/intro/stress_test_results.rst

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
Stress Tests Results
2+
====================
3+
4+
The stress file was created with JMeter and executed in Blazemeter. The results was described below.
5+
6+
7+
Scenario
8+
--------
9+
10+
The test scenario is described below
11+
12+
Script Steps
13+
^^^^^^^^^^^^
14+
15+
The steps of testing was:
16+
1. Load Login page
17+
2. Login
18+
3. Load Home page
19+
4. Load Logout page
20+
5. Logout
21+
6. Load login page
22+
23+
Machine config:
24+
^^^^^^^^^^^^^^
25+
26+
Azure B1, it's the most basic Machine of Azure.
27+
* 100 ACU
28+
* 1.75gb Memory
29+
30+
The database was Azure SQL with 5 DTU's (most basic)
31+
32+
Blaze Meter Results
33+
--------------------
34+
35+
* 50 v-Users
36+
* 10 minutes
37+
38+
During tests, average CPU utilization was 13,58% and Memory consumption was about 230mb.
39+
40+
.. image:: ../images/stress/cpu.jpg
41+
42+
.. image:: ../images/stress/during-blazemeter.png
43+
44+
Timeline report
45+
^^^^^^^^^^^^^^^
46+
.. image:: ../images/stress/timelinegraph.jpg
47+
48+
49+
Aggregate report
50+
^^^^^^^^^^^^^^^^
51+
.. image:: ../images/stress/agreggatereport.JPG
52+
53+
54+
Result file
55+
^^^^^^^^^^^^
56+
Blazer meter `Results <https://a.blazemeter.com/app/executive-summary/index.html?master_id=20009165#/>`_

src/Backend/Jp.UserManagement/Controllers/ManagementController.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public async Task<ActionResult<DefaultResponse<UserViewModel>>> UserData()
4141
return Response(user);
4242
}
4343

44-
[Route("update-profile"), HttpPost]
44+
[Route("update-profile"), HttpPut]
4545
public async Task<ActionResult<DefaultResponse<bool>>> UpdateProfile([FromBody] UserViewModel model)
4646
{
4747
if (!ModelState.IsValid)
@@ -56,7 +56,7 @@ public async Task<ActionResult<DefaultResponse<bool>>> UpdateProfile([FromBody]
5656
}
5757

5858

59-
[Route("update-profile-picture"), HttpPost]
59+
[Route("update-profile-picture"), HttpPut]
6060
public async Task<ActionResult<DefaultResponse<bool>>> UpdateProfilePicture([FromBody] ProfilePictureViewModel model)
6161
{
6262
if (!ModelState.IsValid)
@@ -70,7 +70,7 @@ public async Task<ActionResult<DefaultResponse<bool>>> UpdateProfilePicture([Fro
7070
return Response(true);
7171
}
7272

73-
[Route("change-password"), HttpPost]
73+
[Route("change-password"), HttpPut]
7474
public async Task<ActionResult<DefaultResponse<bool>>> ChangePassword([FromBody] ChangePasswordViewModel model)
7575
{
7676
if (!ModelState.IsValid)

0 commit comments

Comments
 (0)