-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathalgo.txt
47 lines (42 loc) · 1.62 KB
/
algo.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Step 1 Start
Step 2 Run server
Step 3 Wait for client request
Step 4 Receive request
Step 5 Check the type of user logged In
if user is tester:
If request contains bug details:
Store bug details
Generates log
Go to step 3
Else If request is of view type:
Read details from file where tester id is equal to id of current user
Send Details as response
Go to step 3
Else:
Invalid request
Go to step 3
Else if user is Developer:
If request contains bug Id:
Change the status of corrensponding bug Id
Generates log
Go to step 3
Else If request is of view type:
Read details from file where tester id is equal to id of current user
Send Details as response
Go to step 3
Else:
Invalid request
Go to step 3
Else:
If request contains bug Id and Developer Id:
Modify the corresponding bug status and assigned Developer
Generates log
Go to step 3
Else If request is of view type:
Read details from file where tester id is equal to id of current user
Send Details as response
Go to step 3
Else:
Invalid request
Go to step 3
Step 6 Stop