75
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 應用程式品質管理轉變 自動化測試 以自動化提升效率並實現最大覆蓋以確保缺陷能於上線前被發掘 Jan Huang 黃儀 Senior Partner Business Manager HP Software May 2015

HPSW AP Testing 20150520

Embed Size (px)

Citation preview

Page 1: HPSW AP Testing 20150520

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

應用程式品質管理轉變 自動化測試以自動化提升效率並實現最大覆蓋以確保缺陷能於上線前被發掘

Jan Huang 黃 儀Senior Partner Business ManagerHP SoftwareMay 2015

Page 2: HPSW AP Testing 20150520

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

在過去,CIO只要善盡資訊服務部署、設備維護管理,即是功不可沒;然伴隨雲端、行動應用、巨量資料等浪潮接踵而至,面對未來,企業亟需擬定全新策略,不斷優化產品發展、顧客互動模式,此時CIO必須肩負更大責任,協助企業因應變局。

--- CIO IT經理人04月號2014 No.34

Page 3: HPSW AP Testing 20150520

3 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

資源使用效率提高

風險管理

加速創新

增進彈性

提升服務速度

商業迫切需求

新形態的

的管理目標正在轉變

Page 4: HPSW AP Testing 20150520

4 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

滿足 的管理需求

●●

●●

應用程式能夠以優異的使用者體驗來交付

自動化管理加速所有作業與協同程序

主動確保資訊安全

防治與分析

更快速取得您的各種訊息與預測分析

Page 5: HPSW AP Testing 20150520

5 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

圍繞在我們周遭的世界並非靜止不動

Velocity

Composite

Lean & Agile

User experience

App Security

Cloud

1trillion applications

by 2020

100billion connected devices in 2020

30X increase in the number

of apps

46% of organizations using

agile

50% will delete app if encountering a bug

Mobility

Quality

84% of breaches at the app layer

3seconds before a user abandons an app

37% of orgs that host apps externally

Page 6: HPSW AP Testing 20150520

6 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

新的科技 新的商業模式 新的交付挑戰

Velocity

Scale

Agility

現代應用程式交付的專案,是由不斷發展進化的需求、散步在不同地裡位置的團隊、持續與關係人交涉以及連續性的交付所構成,伴隨著限制來自於更緊的預算、激烈的競爭與日益增加的法規要求 – Gartner Research

應用程式交付的全新世界

Page 7: HPSW AP Testing 20150520

7 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

連續且快速的應用程式變更交付風險很高

品質確保

透過整個應用程式生命週期的有效性驗證將能掌握這些風險

是常態

• 新的應用系統導入• 支援套件• 客製化

衝擊著底線• 上線時間• 系統導入的成本

增加商業風險

• 應用程式相互依存• 每個變更都會增加風險

Page 8: HPSW AP Testing 20150520

8 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

:軟體品質,是指軟體系統或系統中軟體部分的品質,即滿足用戶需求,包括功能需求和效能需求的程度。

− 功能

− 效能

− 可靠性

− 安全性

− 可升級性

− 可維護性

− 其他品質特性

何謂應用程式品質

Page 9: HPSW AP Testing 20150520

9 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

品質問題的產生過程 以傳統生命週期為例角色 Role

業務單位 LOB 開發 Developing 測試 Testing 維運 IT Operations用戶

End-User

需求階段 提交錯誤需求1. 接收錯誤需求2. 對需求的錯誤理解

設計開發階段

1. 接收錯誤需求2. 對需求的錯誤理解3. 設計錯誤4. 程式編碼錯誤

測試階段

1. 接收錯誤需求2. 對需求的錯誤理解3. 設計錯誤4. 程式編碼錯誤5. 不正確的缺陷修改過程6. 不正確的軟體發佈過程

使用階段未發現的品質問題(遺留缺陷含功能與非功能)

維運作業資源配置與操作不當引起的品質問題

錯誤的操作

Page 10: HPSW AP Testing 20150520

10 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

應用程式品質問題的成因分析

來源 特點

遺留缺陷1. 需求階段2. 設計開發階段3. 測試階段

1. 需求階段的缺陷最容易被發現,但因為重視及投入的問題,卻往往在後期才被發現

2. 設計開發階段是缺陷的主要產生階段,大部分缺陷是開發階段的活動產生的(含對需求的錯誤理解導致的缺陷)

3. 測試階段不產生缺陷,測試品質的好壞決定了多大程度上發現系統的固有缺陷,傳統軟體工程中主要依賴測試活動來減少系統上線後的遺留缺陷

4. 發佈過程介於測試階段和維運階段之間,一般用戶往往只關注了發佈的成功與否,而忽視了發佈本身的品質

運維引起的問題 1. 使用階段

1. 運維活動引起的問題一般是通過系統問題的形式被使用者發現,因此很可能會被誤判為缺陷,且會無謂地耗費缺陷分析的資源

2. 運維活動導致的品質問題與運維的規範度相關,需求、設計開發和測試活動的品質提升無法直接解決運維引起的問題

錯誤的使用者操作 1. 使用階段1. 錯誤的使用者操作引起的問題往往也會被使用者認為是系統缺陷2. 通過易用性的設計和使用前的充分培訓能有效地減少這類問題的發生

Page 11: HPSW AP Testing 20150520

11 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

應用程式品質問題的成因分析

來源 分析

客觀品質問題

1. 遺留缺陷2. 維運作業3. 用戶活動

1. 需求、設計開發、測試、維運階段的活動均可引入品質問題

2. 測試可以有效減少品質問題,但不能完全解決品質問題3. 品質問題需要全流程的品質管制活動來綜合解決

主觀感受 1. 設計開發活動

1. 主觀類品質問題與用戶群體的相關度較高2. 對個體的主觀感受無法直接用客觀的量化指標來衡量,但通過特定的

品質活動能在宏觀上影響一定範圍人群的主觀感受

Page 12: HPSW AP Testing 20150520

12 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

改善應用程式品質問題的手段角色 Role

業務單位 LOB 開發 Developing 測試 Testing維運 IT

Operations用戶

End-User

需求階段 需求評審 需求評審和確認 需求評審 需求評審 需求評審

設計開發階段

減少或規範需求變更

1. 開發流程優化和技術改進

2. 內部測試QA

測試設計開發交付物評審

開發交付物評審

測試階段減少或規範需求

變更

1. 缺陷修復過程的管理

2. 交付的品質管制(准入准出)

1. 測試效率2. 測試覆蓋3. 測試能力

上線測試 UAT測試

使用階段 問題解決和回饋機制1. 品質抽樣檢測2. 問題定位機制

1. 運維流程改進

2. 即時品質監控

參與培訓

Page 13: HPSW AP Testing 20150520

13 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

測試工作的定位測試是代表用戶對品質進行評價和驗收

− 測試可以對開發交付的品質進行評價

− 測試需要考慮使用者角度

測試工作的品質極大地影響交付上線的產品品質

− 測試工作品質直接決定了遺留缺陷占缺陷總數的比例,在總缺陷數固定的情況下,也就間接決定了生產上線後的缺陷數量

− 測試工作品質由測試流程、測試人員能力和態度、工具和平臺支撐決定

最終產品品質由需求、開發、測試、運維、用戶共同決定

− 生產上線後發現的問題需要厘清主要責任方(問題的引入者),才能在後續過程中儘量避免該類問題

測試工作的極限性

− 不能用零缺陷來度量測試工作,而應根據測試能力現狀制定測試工作的閥值

Page 14: HPSW AP Testing 20150520

14 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

完整的管理流程確保應用程式品質

維運的安全管理

維運

Service desk

上線環境監控

連結到上線環境

Go/No Go

Inte

gra

te w

ith

de

ma

nd

功能需求

業務需求

安全需求

效能需求

其他非功能需求

需求管理

評估和分析風險

建立測試的優先權

建立測試計劃(Test Case)

風險評估與測試規畫

測試管理與執行

執行安全掃描辨識與客製化安全政策

缺陷管理

執行功能測試

建立手動測試案例

自動化回歸測試案例

執行測試, 診斷問題和解決問題

建立效能測試腳本與場景

策略/ 需求

策略需求

• 新的應用系統• 新的服務• 應用系統整合

維運需求

• 缺陷• 提升• 變更需求

企業架構和政策

• SOA• 安全

功能需求

業務需求

安全需求

效能需求

其他非功能需求

評估和分析風險

建立測試的優先權

建立測試計劃

(Test Case)

缺陷管理

執行功能測試

建立手動測試案例

自動化回歸測試案例

Operationalsecurity

management

OPERATIONS

Service desk

Productionmonitoring

維運的安全管理

維運

Service desk

上線環境監控

策略/ 需求

策略需求

• 新的應用系統• 新的服務• 應用系統整合

維運需求

• 缺陷• 提升• 變更需求

企業架構和政策

• SOA• 安全

Go/No Go

Page 15: HPSW AP Testing 20150520

15 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

為什麼要功能測試?

−驗證應用程式的業務流程與操作功能可以被正確的執行,以確保應用系統的品質

−根據功能規格透過使用者介面測試系統功能是否正常

Graphical User-Interface Layer

(GUI testing, user acceptance testing)

GUI layer

Headless layer(Web services, APIs, components, unit,

integration)

Process Layer

GUI 1(.Net)

End-to-end business process testing

(GUI Business layer/Mixed)

Business process 1 Business process 1

GUI 2(Ajax)

GUI 3(Java)

Headless layer (services, components, API)

Component 1(JavaTM/.Net API)

Component 2(Web service)

Component 3(JMS service)

Validate across layers.HP Unified Functional Testing allows you to test a transaction that spans multiple layers of an application.

Page 16: HPSW AP Testing 20150520

16 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

現代應用程式架構

Interact with modern GUI interfaces

End-to-End Business Process

Graphical User-Interface Layer

Oracle

Headless Layer

Continue the scenario to the headless layer

Test the Integration between layers

Report on quality of the entire end-to-end process

Process Layer

A New Transaction

Screen 1 (AJAX)

Screen 2 (Java)

SAP

Screen 3 (ABAP)

Screen 4 (HTML)

Custom

Screen 5 (AJAX)

Screen 6 (Java)

.NET API Rest API RFCJMS

Service.NET API Rest

Page 17: HPSW AP Testing 20150520

17 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

功能測試 - Business Process Layer

為何要測試 business process?• Technology and Platform Agnostic

• Highest level of abstraction

• Unites People, Process, Information with technology

• Providing a solution addressing business needs to accelerate performance

Process

People

Process Layer

Information

Page 18: HPSW AP Testing 20150520

18 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

功能測試 - Graphical User-Interface Layer

為何要測試User-Interface?• Point of Interaction for multiple end-users

• Technology/Platform Changes can have cascading effects

• Small UI Changes can have unseen effectsTablet

PC

UI Layer

Mobile

Page 19: HPSW AP Testing 20150520

19 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

功能測試 - Headless Layer

為何要測試 headless layer?• Can‘t test all aspects of the GUI

• Independent validation of services and components

• Another opportunity for automation

• Test earlier in the lifecycleNetwork Service

API

Service Layer

Feed

Page 20: HPSW AP Testing 20150520

20 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

常聽到台灣客戶的苦惱

應用程式開發委外−專案以委外為主

−廠商交付未經測試之專案與程式元件

−驗收沒有標準

−系統文件為驗收而寫,不具參考價值

−程式撰寫沒有標準

−系統compile不過

內部AP團隊的痛

−產品安裝後卻無法執行

−程式測試因人而異

−整合測試? 我每個畫面都有測,這樣算嗎?

−專案趕上線,沒有時間測試

−要測多少才夠?

−要如何測試? 測試環境在哪?

Page 21: HPSW AP Testing 20150520

21 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

常聽到台灣客戶的苦惱

使用者的抱怨

−這個Bug改了但上次的Bug又出現了

− A功能的資料沒有連動到B功能

−系統一啟動其他系統就不能動了

−錯誤一大堆浪費了很多時間

−專案結果不是使用者要的,當初的系統分析在做什麼?

Page 22: HPSW AP Testing 20150520

22 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

針對Web, API, Packaged App和行動應用程式的自動化測試方案Unified Functional Testing

行動應用程式測試藉由與HP Mobile Center整合來確保行動應用程式品質

API & Web Service 測試在UI之前建立測試以提升速度

單一統合使用介面建立、編輯、除錯並執行各式測試:GUI, API, business component, end-to-end

連續性交付藉由與Subversion (SVN) and Jenkins的直接整合讓開發/測試人員確保品質

跨瀏覽器測試跨瀏覽器進行自動化測試包含Chrome, Firefox, IE, 以及在Mac平台上的 Safari

Page 23: HPSW AP Testing 20150520

23 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

專為敏捷、行動與Dev/Ops的解決方案

HP Unified Functional Testing

GUI

API/Web Service

Fra

mew

ork

(BP

T)

HP ALM. Quality Center, Agile Manager, Jenkins & Subversion (SVN)

Sprinter

Service and Network

Virtualization

HP Mobile Center

BPT Accelerators

Page 24: HPSW AP Testing 20150520

24 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

提升團隊協同作業以及速度 (即刻開始、遠端存取、詳盡證據紀錄)

提升準確性、可靠性以及效能表現(真實裝置、網路)

能運用既有ALM投資(工具、流程、政策、人員)

與既有HP 解決方案整合

彈性裝置管理

真實世界環境

專為HP Software提供一站式資源的行動附加擴充UFT & HP Mobile Center整合測試自動化

1

2

3

Page 25: HPSW AP Testing 20150520

25 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

完整 Chrome 支援• 在Chrome瀏覽器上進行測試錄製與重播

• 支援Chrome 32 and 64 bit

• 藉由Chrome Web Store做快速Chrome 更新發佈

• Web Extensibility Support including:

Google Web Toolkits

SiebelOpenUI

Page 26: HPSW AP Testing 20150520

26 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Subversion (SVN)

可由UFT與SVN直接進行asset repository管理工作

• 可直接對來源管制做變更

• 更容易化解版本衝突

• 能執行差異比較

能有效運用Jenkins環境做UFT測試

Page 27: HPSW AP Testing 20150520

27 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

關鍵字(Keyword )

Test steps in HP Quicktest Professional

Test steps in previous generation solutions

Nouns Verbs DataVs.

Keyword view

Page 28: HPSW AP Testing 20150520

28 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

UFT的價值訴求

關鍵優勢 -回歸測試

可針對所有的環境、測試資料和業務流程確認所有功能正確性

在時常修改的應用程式中,可以輕易的建立,執行和維護回歸測試的執行

能用最少的花費達成最大的效果,可以讓整個測試團隊根據最佳實踐建立複雜性測試

學習門檻低且腳本容易維護

透過關鍵字(Keyword ),無須程式開發人員即可作業

提供資料表配合大量資料測試(Driver Test)

方便管理

完整的與ALM整合,可以最大化重複使用與管理測試

資產分享,版本控管和基線比對

Page 29: HPSW AP Testing 20150520

29 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Feature UFT (QTP + ST)

Support HTML5, AJAX, Silverlight and WPF

Full Chrome Support (32 & 64 bit)

Windows 8

Business Process Testing (BPT) Integration – inside UFT

Sprinter Integration

API Testing

Web Services Testing

All Supported Testing Platforms Included

Safari on Mac

UFT 特色功能

Page 30: HPSW AP Testing 20150520

30 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Feature UFT (QTP + ST)

Service Virtualization Integration

Multilayer testing (Test GUI & headless layer)

HTML5

Mobile Center Test Integration

Network Capture File Import (p-cap)

Jenkins Integration

Insight Recording (Image Recognition)

Subversion Integration

UFT 特色功能(續)

Page 31: HPSW AP Testing 20150520

31 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

為什麼要效能測試?系統回應時間

資源設定評估

驗收

回歸測試

可靠性

容量規劃

找出系統瓶頸

產品評估

Page 32: HPSW AP Testing 20150520

32 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

面對截然不同的使用者

Mainframe Client/Server Web Devices

System-centric User-centric

Users born after 1980

Page 33: HPSW AP Testing 20150520

33 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

應用程式複雜性驅動使用者體驗

效能測試與虛擬化能降低風險與總持有成本

Mainframe

Storage

DB

Servers

Web

Services

App

Servers

Web

Servers

Load

Balancers

Mobile

Components

Major ISP

3rd Party

Cloud Services

Content

Delivery

Networks

Mobile Carriers

& ISPs

Browsers&

Devices

Customers

Employees

Page 34: HPSW AP Testing 20150520

34 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

常聽到台灣客戶的苦惱開發人員

− 如何證明已滿足效能的 (例如:當同時有 人上線交易時,要確保有九成的使用者,能在一分鐘內完成交易)?

− 是否有特定功能有效能上的問題,因而拖累整體系統效能

測試人員

− 無法以人工的方式模擬出大量的使用者行為,無從得知網站在多人同時操作下的效能表現。

− 如何模擬出接近真實的測試案例(不能老是用同一個帳號或重覆的測試資料進行測試)?

網站負責人

− 使用者所感受到的網頁速度夠快嗎?完成一個交易平均所需的時間是多久?

− 在一定的時間內,能完成多少筆交易?

− 如何預測可服務客戶數,以事先規劃硬體擴充需求?

Page 35: HPSW AP Testing 20150520

35 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

常聽到台灣客戶的苦惱系統工程師

− 網站的相關軟、硬體調校,是否已達最佳化?應該要加 、升級硬碟,或調整 設定,才能讓系統效能能有明顯的提升?

− 是否能有效運作?有確實將負載分散到後端各台 中嗎?

− 長時間處於高用戶壓力下,仍能提供穩定性的服務嗎?

− 多少人同時上線會導致系統崩潰呢?

Page 36: HPSW AP Testing 20150520

36 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

LoadRunner

彈性交付

能以community 版本快速地與更節省的方式開始

使用者體驗& 社群

在任何平台上都容易上手,分享與連結使用者與事業夥伴

雲端測試

最大效能與規模

支援廣泛呈現新形態IT的科技、方法論與環境

強化行動測試

實際環境下的行動測試

連續性測試

以Dev/Ops作連續性整合

以前所未有的速度與絕不妥協的品質來交付高效能的應用程式

Page 37: HPSW AP Testing 20150520

37 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

HP 效能測試的組成架構

Virtualize the Network4

Analysis, Diagnostics and Reporting

DatabaseInternet/WAN Application Server(s)Client(s)End User

Measure Impact

6

Generate Load3Author Scripts1

Plan and Execute Tests2HP Live Network7

5

Performance Center

Trend Reporting

Performance

Lifecycle

CentralizedAssets

Global

Collaboration

Page 38: HPSW AP Testing 20150520

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Spotlight

雲端測試最大效能與規模

Page 39: HPSW AP Testing 20150520

39 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

雲端測試 / 最大效能與規模

無雜項開支的規模擴充可使用遍及世界各地的雲端基礎設施自動化配置設定管理所佈署的負載產生器 (load generators)

簡化行政管理可藉由定義雲端帳號來管理雲端主機使用量

節省時間/精力可橫跨不同團隊藉由運用與分享雲端測試組態設定與資源

在雲端環境中 – 針對效能測試並以客戶為中心所設計的強化功能

Page 40: HPSW AP Testing 20150520

40 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

AUT

AUT

• 以測試需求為基礎來調整擴充高低

• 可做地理位置上的分配佈署

• 在不同測試之間可以共享雲端環境

Value: 能彈性擴充已符合需求並降低成本以及管理專為測試所需基礎設施的雜項開支

LoadRunner or Performance Center

Connect securelyon standard ports

雲端測試 / 最大效能與規模

LG

LG LGLG

無雜項開支的規模擴充

HP Performance Center 與 HP LoadRunner 能夠無縫銜接運用公有雲基礎設施來佈署負載產生器 LoadGenerators (LGs)

Page 41: HPSW AP Testing 20150520

41 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

可新增多重雲端帳號並管理Network Profiles來連結不同的負載產生器 (LGs)

• 管理雲端帳號 Manage cloud accounts

• 配置設定多個負載產生器 (LGs)

• 以雲端上的負載產生器 (LGs)執行測試

• 檢視配置設定報告

雲端測試 / 最大效能與規模可橫跨不同團隊藉由運用與分享雲端測試組態設定與資源

Value: 能顯著降低效能測試所需的配置設定時間,同時維持資訊安全與控制

Page 42: HPSW AP Testing 20150520

42 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

使用Performance Center 能簡化對雲端上效能測試環境的行政管理

• 可允許測試者在Performance Center中建立測試配置

• 藉由 “Test Express”功能可以更容易建立所需測試

• 可對Lab Management 提供能見度

• 存取ALM 功能特色更為容易

雲端測試 / 最大效能與規模以Performance Center來簡化雲端上的行政管理

Value: 可降低在共享環境中做效能測試的行政管理時間

Page 43: HPSW AP Testing 20150520

43 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

雲端測試 / User Flow

Manage Cloud accounts

Provision multiple LGs

Run load test with cloud LGs

Create Cloud accounts

Provisioning LGs starts

Cloud usage report

Page 44: HPSW AP Testing 20150520

44 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

雲端測試 / User Flow

Manage Cloud accounts

Provision multiple LGs

Run load test with cloud LGs

Create Cloud accounts

Provisioning LGs starts

Cloud usage report

Page 45: HPSW AP Testing 20150520

45 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

雲端測試 / User Flow

Manage Cloud accounts

Provision multiple LGs

Run load test with cloud LGs

Create Cloud accounts

Provisioning LGs starts

Cloud usage report

Page 46: HPSW AP Testing 20150520

46 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

雲端測試 / User Flow

Manage Cloud accounts

Provision multiple LGs

Run load test with cloud LGs

Create Cloud accounts

Provisioning LGs starts

Cloud usage report

Page 47: HPSW AP Testing 20150520

47 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

雲端測試 / User Flow

Manage Cloud accounts

Provision multiple LGs

Run load test with cloud LGs

Create Cloud accounts

Provisioning LGs starts

Cloud usage report

Page 48: HPSW AP Testing 20150520

48 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

雲端測試 / User Flow

Manage Cloud accounts

Provision multiple LGs

Run load test with cloud LGs

Create Cloud accounts

Provisioning LGs starts

Cloud usage report

Page 49: HPSW AP Testing 20150520

49 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

雲端測試 / 效益

降低成本

能彈性擴充已符合需求並降低成本以及管理專為測試所需基礎設施的雜項開支

節省時間讓應用程式交付更快

能顯著降低效能測試所需的配置設定時間,同時維持資訊安全與控制

可降低在共享環境中做效能測試的行政管理時間

Page 50: HPSW AP Testing 20150520

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Spotlight

強化行動測試體驗為HP Software 產品組合帶來網路虛擬化

Page 51: HPSW AP Testing 20150520

51 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

完整的行動測試/效能測試

您所需測試效能的方式以全新腳本錄製對應所有的行動應用程式交付模式

實際端對端的行動測試HP Mobile TruClient 或是 HP LR Mobile App Protocol 已整合 ShunraNetwork 特徵

您所需要的測試行動應用程式效能方式

Value: 完整的行動效能測試

Page 52: HPSW AP Testing 20150520

52 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

專為行動應用程式效能測試的完全解決方案:

• 能在末端使用者之前辨識出瓶頸所在

• 能在好與壞的網路連線環境中進行測試

• 能在整個系統中了解行動化的衝擊

• 可運用HP Mobile TruClient 或 HP Mobile Application Protocol

• 進階功能: 以Shunra 來模擬真實行動網路環境

Value: 實際行動效能測試

完整的行動測試/效能測試專為效能測試的完全解決方案…具備網路特徵

Page 53: HPSW AP Testing 20150520

53 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Mobile Applications Protocol

• 支援 Native and Hybrid 應用程式

• 真實裝置與模擬器 (Proxy)

On Device Recording

• Android 目前可支援

Mobile TruClient Protocol

• 模擬真實使用者的體驗

• 支援 Web based 行動應用程式

• 非常適合敏捷開發 (Agile)

SMP – SAP Mobile Platform

完整的行動測試/效能測試新的腳本錄製選擇

Page 54: HPSW AP Testing 20150520

54 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

在自動化系能測試中納入網路特徵• 今日相互依存的應用程式是分散式的—網路以及其不規則的行為卻是一個常態!

• 從LoadRunner 以及 Performance Center 中在每一個負載產生器上模擬多重網路

• 可將HP Service Virtualization與HP Shunra Network Virtualization 作全面整合

• 可定義並控制網路參數

• 具備業界最全面完整的網路模型定義收藏

在所有的測試情境中

Value: 可避免「總是網路問題」來確保品質永不妥協

完整的行動測試/重新定義效能

Page 55: HPSW AP Testing 20150520

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Spotlight

連續性測試Dev/Ops作連續性整合

Page 56: HPSW AP Testing 20150520

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

橫跨應用程式生命週期的效能管理

連續性測試/重新定義效能

獲得更佳應用程式性能 個關鍵• 及早測試

• 經常測試

• 監控並運用從 維運管理所獲得的效能監控數據作為基準值來進行測試

Page 57: HPSW AP Testing 20150520

57 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

幫助開發/測試人員在連續性整合(Continuous Integration)中做負載測試: HP LoadRunner 提供開發人員工具以及APIs 來提前在更早階段進行效能測試

• 可與Visual Studio 或 Eclipse 整合在開發階段建立負載測試腳本

• 在負載情境中執行單元測試(Unit tests)

• 支援 nUnit, jUnit and Selenium 測試作為LoadRunner 測試情境的一部分

• 可新增效能測試作為在Jenkins中的建構(Build)步驟

• REST API 可支援連續交付程序

與開發工具整合

連續性測試/重新定義效能

Value: 藉由在敏捷開發或是複合的開發管理方法中整合效能測試來加速應用程式的交付

Test

Visual Studio or Eclipse

Selenium, jUnit, nUnit

Jenkins

Page 58: HPSW AP Testing 20150520

58 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

與開發工具整合– 單元測試 (Unit test)

連續性測試/重新定義效能

Add LoadRunner APIs to Unit Tests in Visual Studio or Eclipse

Integration with Jenkins: Automate test scheduling, execute tests and view results as part of the build plan

Verify Output within the IDE

Execute Unit Tests using the LoadRunner Engine

Create LoadRunner scenario from the IDE

Page 59: HPSW AP Testing 20150520

59 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Value: Accelerate application delivery by integrating performance testing in Agile and hybrid environments

Add LoadRunner APIs to Unit Tests in Visual Studio or Eclipse

Integration with Jenkins: Automate test scheduling, execute tests and view results as part of the build plan

Verify Output within the IDE

Execute Unit Tests using the LoadRunner Engine

Create LoadRunner scenario from the IDE

與開發工具整合– 單元測試 (Unit test)

連續性測試/重新定義效能

Page 60: HPSW AP Testing 20150520

60 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Value: Accelerate application delivery by integrating performance testing in Agile and hybrid environments

Add LoadRunner APIs to Unit Tests in Visual Studio or Eclipse

Integration with Jenkins: Automate test scheduling, execute tests and view results as part of the build plan

Verify Output within the IDE

Execute Unit Tests using the LoadRunner Engine

Create LoadRunner scenario from the IDE

與開發工具整合– 單元測試 (Unit test)

連續性測試/重新定義效能

Page 61: HPSW AP Testing 20150520

61 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Value: Accelerate application delivery by integrating performance testing in Agile and hybrid environments

Available only on LoadRunner

Add LoadRunner APIs to Unit Tests in Visual Studio or Eclipse

Integration with Jenkins: Automate test scheduling, execute tests and view results as part of the build plan

Verify Output within the IDE

Execute Unit Tests using the LoadRunner Engine

Create LoadRunner scenario from the IDE

與開發工具整合– 單元測試 (Unit test)

連續性測試/重新定義效能

Page 62: HPSW AP Testing 20150520

62 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Value: Accelerate application delivery by integrating performance testing in Agile and hybrid environments

Available with LoadRunner and Performance Center

Add LoadRunner APIs to Unit Tests in Visual Studio or Eclipse

Integration with Jenkins: Automate test scheduling, execute tests and view results as part of the build plan

Verify Output within the IDE

Execute Unit Tests using the LoadRunner Engine

Create LoadRunner scenario from the IDE

與開發工具整合– Jenkins

連續性測試/重新定義效能

Page 63: HPSW AP Testing 20150520

63 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Value: Accelerate application delivery by integrating performance testing in Agile and hybrid environments

REST API 可支援連續交付程序:• 透過REST API 進行排程、執行、

終止、彙總、分析測試• 建立監控、拓樸關係• 連結至連續性整合解決方案

與開發工具整合

連續性測試/重新定義效能

Page 64: HPSW AP Testing 20150520

64 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

支援 SPDY 與 WebSockets

Value: Accelerate application delivery by integrating performance testing in Agile and hybrid environments

Web 與 Mobile 應用程式目前有越來越多是採用通用元件開發,這些通用元件是由快速移動標準如 SPDY (pronounced “Speedy”)、Navigation Timing 以及HTML5所主導。

連續性測試/重新定義效能

Page 65: HPSW AP Testing 20150520

65 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Refine load test details

Collect & analyze production data

Analyze and tune load test data

Load test Compare production and load test data

精準、真實、可靠的測試

連續性測試/應用程式效能生命週期

Page 66: HPSW AP Testing 20150520

66 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

將上線後的維運環境數據帶進效能測試作為基準線

• 從上線後的維運環境收集、分析並比較效能數據

• 針對IIS做維運環境數據的更新日誌檔案分

• 可與Google Analytics 整合

Value: 效能測試能以精準、實際與可靠的測試來更貼近真實狀況: 降低風險並增進測試結果

應用程式效能生命週期

連續性測試/重新定義效能

Page 67: HPSW AP Testing 20150520

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Spotlight

令人驚豔的使用者體驗在任何平台上都能容易操作使用

Page 68: HPSW AP Testing 20150520

68 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

UI 使用者介面與自動化的功能特色

令人驚豔的使用者體驗 / Test Express

高效率的效能測試

• 分析範本

• 支援多種語言

• TruClient Web/HTTP 轉換工具 converter utility

• 藉由新的VTS作測試數據的重複利用

• UI 優化

• 與HP 其他產品持續整合更新

• ALM, UFT, SV, Diagnostics and Sitescope

EasyValue:

可用瑣碎時間做應用程式測試以達成持續高效能

Page 69: HPSW AP Testing 20150520

69 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

令人驚豔的使用者體驗 / 容易上手

在HP Performance Center 的測試環境執行效能測試更快

• 簡易三個步驟

• Add script to the designer

• Design your test

• Run test

Easy

UI 使用者介面與自動化的功能特色

Page 70: HPSW AP Testing 20150520

70 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

持續更新的協定 (Protocols) /新的平台

• Windows 8• Internet Explorer 10• Google Chrome• SAPGUI 7.3• Java 1.7• Oracle Forms 11• New Linux Load Generator support:

• Ubuntu• Amazon Linux• Oracle Enterprise Linux

令人驚豔的使用者體驗 / 永保最新狀態

Page 71: HPSW AP Testing 20150520

71 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

HP Live Network

HP Live Network (HPLN) 與 VuGen的整合

• 自動化的內容交付

• HP、夥伴以及社群開發功能Libraries、關連性規則與資料格式延伸擴充

• 與HP Passport連結

夥伴所開發的協定 (Protocols)

• 未來將透過HPLN納入銷售/服務建置中

令人驚豔的使用者體驗 / 建立社群

Page 72: HPSW AP Testing 20150520

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Spotlight

彈性交付能快速地與更節省的方式開始

Page 73: HPSW AP Testing 20150520

73 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

提供以下方案幫助您開始:

• Loadrunner Community (社群版)

• Performance Center “smoke testing” (試用版)

彈性交付

免費提供與試用

Value: 以彈性的方式幫助您開始並幫助您在通往品質與速度的路途持續前進

計價方式與授權簡化

原本Controller 的固定計費已經取消

新的定價方式

多種交付選擇:

• 永久有效以及短期間的授權使用

• 以SaaS方式的Performance Center交付

• 佈署在雲端上的LoadRunner

• Professional services, support, education, and global partners

用您想要的方式交付

Page 74: HPSW AP Testing 20150520

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Page 75: HPSW AP Testing 20150520

75 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

HP Software: The Power to Act Now