---
# System prepended metadata

title: 壓力測試報告

---

# 壓力測試報告 

## 知識搜尋

知識總筆數 10000筆

## 測試輸入參數

* URL
```
POST  http://10.190.173.147:8080/web/P2PServer.jsp
```

* 參數

```
action:search
txtInput_json:{"query_type":"keyword","keyword":"西瓜","target_db":["S6KBIndex"],"search_mode":{"search_mode":"normal"},"field_filter":{"and":[{"field":"ao_sid","condition":15},{"field":"ft_sid_list","condition":",11641,|,10910,|,11541,|,11147,|,11382,|,11299,|,11224,|,11029,|,10990,|,10792,|,10841,|,9896,|,9915,|,322,|,9912,|,9083,|,9929,|,306,|,9917,|,9875,|,9924,|,9928,|,9888,|,6113,|,10493,|,10495,|,10911,|,11039,|,10870,|,11353,|,325,|,309,|,7104,|,310,|,9920,|,307,|,312,|,313,|,317,|,318,|,319,|,10505,|,9286,|,9295,|,9320,|,9314,|,9383,|,9680,|,9296,|,9322,|,9311,|,9409,|,9315,|,9340,|,9876,|,9877,|,9878,|,9879,|,9892,|,9885,|,9883,|,9890,|,9889,|,10479,|,9919,|,10430,|,9894,|,9897,|,9898,|,9899,|,9900,|,9901,|,9902,|,9913,|,10422,|,9932,|,10423,|,10424,|,10425,|,10426,|,9916,|,10470,|,10428,|,10427,|,10429,|,10471,|,10472,|,10474,|,10475,|,9882,|,9930,|,9931,|,10491,|,9886,|,10467,|,10482,|,11223,|,10481,|,10846,|,10847,|,10480,|,10848,|,10944,|,10489,|,10490,|,10492,|,11010,|,10874,|,10873,|,11231,|,11143,|,11137,|,11138,|,11024,|,10993,|,10995,|,10994,|,11009,|,11225,|,11228,|,11227,|,11226,|,11234,|,11354,|,11373,|,11375,|,11355,|,11358,|,11360,|,11362,|,11356,|,11357,|,11359,|,11361,|,11363,|,11364,|,11365,|,11366,|,11367,|,11368,|,11369,|,11370,|,11371,|,11374,|,11380,|,11381,|,11376,|,11378,|,11379,|,11377,"},{"field":"fan_sid","condition":"0;16;17;58"}]},"search_range":{"start_pos":0,"max_record":2147483647},"group_field":"fq_sid","result_field":["fq_sid","_hit_num"]}
```

### 30人 / 執行一分鐘

![](https://i.imgur.com/vpuM8ou.png)

![](https://i.imgur.com/m5f4Jt2.png)


#### CPU狀態

開始後直接100%滿載
![](https://i.imgur.com/fQNbpVg.png)


中間過程 CPU使用率介於90-100%之間
![](https://i.imgur.com/3xjECDH.png)

直到測試結束 CPU狀態依然保持100%
![](https://i.imgur.com/pOY3yeK.png)



### 20人 / 執行一分鐘

![](https://i.imgur.com/gE3LOZQ.png)

![](https://i.imgur.com/K9h3P4J.png)


#### CPU狀態

開始後直接100%滿載
![](https://i.imgur.com/Gut3vtK.png)


測試結束後 依然保持100%
![](https://i.imgur.com/hiFgJlq.png)


### 10人 / 執行一分鐘

![](https://i.imgur.com/tP66Spw.png)


#### CPU狀態

開始後CPU 在10秒左右直接滿載
![](https://i.imgur.com/70b5jQY.png)


![](https://i.imgur.com/ondxvRc.png)

測試結束後 CPU 依然保持100%
![](https://i.imgur.com/SI8S3nG.png)



## 附件搜尋

測試附件總筆數 10000筆

![](https://i.imgur.com/g238zM1.png)


## 壓測輸入參數

* URL
```
POST  http://10.190.173.147:8080/web/P2PServer.jsp
```

* 參數

```
action:search
txtInput_json:{"query_type":"keyword","keyword":"西瓜","target_db":["S6FileIndex"],"search_mode":{"search_mode":"normal"},"search_order":[{"field":"_hit_num","order_type":"des"}],"search_range":{"start_pos":0,"max_record":2147483647},"result_field":["FILENAME","FILEPATH","_hit_num"]}
```


### 30人 / 執行一分鐘

![](https://i.imgur.com/GhQmiO1.png)

![](https://i.imgur.com/A1meT5o.png)

#### CPU狀態

開始後CPU 直接滿載
![](https://i.imgur.com/34PK0jh.png)

接著降到 44-55% 左右 直到測試結束
![](https://i.imgur.com/QBdT6FB.png)

結束後 則降到16-20%左右

![](https://i.imgur.com/tAkMfi7.png)




### 20人 / 執行一分鐘

![](https://i.imgur.com/bLN8Udu.png)

![](https://i.imgur.com/xETaDCz.png)



#### CPU狀態

開始後 CPU 飆到100%後反降到80-95左右的使用率
![](https://i.imgur.com/dcefnaR.png)

40秒後飆到100% 
![](https://i.imgur.com/96zzMpn.png)

結束後 CPU保持100%

![](https://i.imgur.com/ptZ5y2o.png)



### 10人 / 執行一分鐘

![](https://i.imgur.com/NPwzerS.png)

![](https://i.imgur.com/YsdR9Fr.png)


#### CPU狀態

開始後CPU保持在 48-57%左右
![](https://i.imgur.com/QDKSWsN.png)

![](https://i.imgur.com/ttUkckL.png)

測試結束後 回到15%左右

![](https://i.imgur.com/3W9WUtf.png)


