Full Matrix Auto Test Framework for WebRTC

24
FULL MATRIX AUTO TEST FRAMEWORK FOR SF WEBRTC MEETUP, JUNE 15TH, 2016 KENSAKU KOMATSU@NTT COMMUNICATIONS

Transcript of Full Matrix Auto Test Framework for WebRTC

Page 1: Full Matrix Auto Test Framework for WebRTC

FULL MATRIX AUTO TEST

FRAMEWORK FOR

S F W E B R T C M E E T U P, J U N E 1 5 T H , 2 0 1 6K E N S A K U KO M AT S U @ N T T C O M M U N I C AT I O N S

Page 2: Full Matrix Auto Test Framework for WebRTC

INTRODUCE TO MYSELF• Who am I ?

– Kensaku Komatsu (call me Ken)– Working at NTT Communications in Palo Alto office.

• Position– Technical manager of SkyWay– Web Application Evangelist of NTT communications

• Social– Google Developer Expert (HTML5)– Chairman of WebRTC conference in Japan

Page 3: Full Matrix Auto Test Framework for WebRTC

ACTIVITIES

https://skyway.io/ https://box.skyway.io/

Page 4: Full Matrix Auto Test Framework for WebRTC

MAIN IDEA FOR TODAY

Testing!!

Page 5: Full Matrix Auto Test Framework for WebRTC

GENERIC TESTING FOR WEB APP

Order of N

Page 6: Full Matrix Auto Test Framework for WebRTC

WEBRTC TESTING …..

Page 7: Full Matrix Auto Test Framework for WebRTC

WEBRTC TESTING …..

NAT type combinatio

n ? PROXY ?

NW condition?

Devices?

Page 8: Full Matrix Auto Test Framework for WebRTC

mnhttps://www.flickr.com/photos/58782395@N03/

Page 9: Full Matrix Auto Test Framework for WebRTC

NeedFramework !!

https://www.flickr.com/photos/jantik/

Page 10: Full Matrix Auto Test Framework for WebRTC

LAST YEAR: BUILT TESTING ENV.

Page 11: Full Matrix Auto Test Framework for WebRTC

LAST YEAR: BUILT TESTING ENV.

Page 12: Full Matrix Auto Test Framework for WebRTC

LAST YEAR : DASH BOARD

http://status.skyway.io/

Page 13: Full Matrix Auto Test Framework for WebRTC

LAST YEAR : IMPLEMENT EACH NAT FROM SCRATCH

Page 14: Full Matrix Auto Test Framework for WebRTC

ISSUES

• Specific for our system.– On top of our cloud system : Cloudn– Use our specific servers : SkyWay only

• Every components were deeply bounded together

Page 15: Full Matrix Auto Test Framework for WebRTC

Make itOpen source !!

Page 16: Full Matrix Auto Test Framework for WebRTC

AUTO TEST FRAMEWORK

• Framework has 4 phases–Bootstrap–Configure–Orchestrate / server_ctl–Orchestrate / job_ctl

Page 17: Full Matrix Auto Test Framework for WebRTC

AUTO TEST FRAMEWORK:: BOOTSTRAP

Built VMson top of AWS-VPCvia CloudFormation

Page 18: Full Matrix Auto Test Framework for WebRTC

AUTO TEST FRAMEWORK:: CONFIGURE

Install each componentsUsing Ansible• Reference signalling srv• Coturn• Sample Web apps• NAT• Chrome & FF• …

Page 19: Full Matrix Auto Test Framework for WebRTC

AUTO TEST FRAMEWORK:: ORCHESTRATE/SERVER_CTL

Execute server programs.

Page 20: Full Matrix Auto Test Framework for WebRTC

AUTO TEST FRAMEWORK:: ORCHESTRATE/JOB_CTL

Run Selenium for all patterns.

Page 21: Full Matrix Auto Test Framework for WebRTC

HOW TO ADOPT TO EACH PROJECT?• Framework has 4 phases

–Bootstrap–Configure–Orchestrate / server_ctl–Orchestrate / job_ctl

Update each script and configuration files.

Page 22: Full Matrix Auto Test Framework for WebRTC

CURRENT STATUS

http://52.196.173.127/

Caused by ….Web Driver mismatch?Due to resource limitation?(t2.micro)

Page 23: Full Matrix Auto Test Framework for WebRTC

RELEASE PLANWill be open-sourced in fall or winter.

Now private repo.

Page 24: Full Matrix Auto Test Framework for WebRTC

THANKS!@komasshu

/kensaku.komatsu/in/kensaku-komatsu-6528333bSlideshare: /KensakuKOMATSU/eastandwest