溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊(cè)×
其他方式登錄
點(diǎn)擊 登錄注冊(cè) 即表示同意《億速云用戶服務(wù)條款》

Ngrinder簡(jiǎn)單idea部署

發(fā)布時(shí)間:2020-07-23 17:29:21 來源:網(wǎng)絡(luò) 閱讀:430 作者:知止內(nèi)明 欄目:編程語言

1.Ngrinder架構(gòu)圖

nGrinder是基于Grinder的開源的web性能測(cè)試平臺(tái),由韓國(guó)最大互聯(lián)網(wǎng)公司NHN公司的開發(fā)團(tuán)隊(duì)進(jìn)行了重新設(shè)計(jì)和完善。
特性:開源、易用、高可用、可擴(kuò)展
Ngrinder簡(jiǎn)單idea部署

?單節(jié)點(diǎn)支持3000并發(fā)、支持分布式、可監(jiān)控被測(cè)服務(wù)器、可錄制腳本、開源、平臺(tái)化。
各個(gè)性能測(cè)試工具對(duì)比

Ngrinder簡(jiǎn)單idea部署

2.安裝方法

3.2.1下載地址:
https://github.com/naver/ngrinder/releases
Ngrinder簡(jiǎn)單idea部署

解壓到相應(yīng)的目錄:

執(zhí)行

目標(biāo)把依賴lib安裝本地創(chuàng)庫
Ngrinder簡(jiǎn)單idea部署

使用idea打開

Ngrinder簡(jiǎn)單idea部署

選擇pom.xml

Ngrinder簡(jiǎn)單idea部署

選擇

Ngrinder簡(jiǎn)單idea部署

再次選擇:

Ngrinder簡(jiǎn)單idea部署

配置tomcat

Ngrinder簡(jiǎn)單idea部署

選擇

Ngrinder簡(jiǎn)單idea部署

選擇

Ngrinder簡(jiǎn)單idea部署

選擇:

Ngrinder簡(jiǎn)單idea部署

選擇

Ngrinder簡(jiǎn)單idea部署

選擇

Ngrinder簡(jiǎn)單idea部署

選擇

Ngrinder簡(jiǎn)單idea部署

修改源碼報(bào)錯(cuò)位置:

/**
 * Create PerTest service depending on cluster mode.
 *
 * @return {@link PerfTestService}
 */
@Bean(name = "perfTestService")
public PerfTestService perfTestService() {
   if (config.isClustered()) {
      return applicationContext.getAutowireCapableBeanFactory().createBean(ClusteredPerfTestService.class);
   } else {
      return applicationContext.getAutowireCapableBeanFactory().createBean(PerfTestService.class);
   }
}

點(diǎn)擊啟動(dòng)

輸入地址為頁面顯示如下
Ngrinder簡(jiǎn)單idea部署

向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI