All About the Apps
Showing results for 
Search instead for 
Do you mean 

Continuous testing virtualization: How network virtualization improves the end user experience

Guy_Rosenthal ‎08-22-2016 11:39 AM - edited ‎08-22-2016 12:53 PM

The world is going mobile,  we all know that. Do you fully know and understand the role of network and network virtualization in powering this mobile explosion?  To prepare for this shift, businesses are in the middle of their digital transformation journey.  Customers have zero tolerance for applications that are not performing well. Studies show that customers have a short fuse when it comes to expected response times for an application.  Customers are more likely to abandon slow applications and not return.

Moreover, shopping and usage habits are constantly changing. The table below shows the disruption in the retail arena:

https://www.internetretailer.com/trends/mobile-commerce/shoppers-who-visit-top-10-retailers-only-on-mobile/https://www.internetretailer.com/trends/mobile-commerce/shoppers-who-visit-top-10-retailers-only-on-mobile/

Single user performance matters, and the network element plays a significant role in this game.  More than 70 percent of the transaction response time is spent on the network. There is a misconception that mobile network infrastructure issues and bad networks (2G) are unique only to developed countries—which is obviously wrong. Carriers make coverage promises of ideal conditions all the time; while in reality this is not the case. Most of the time mobile users in the US or Western Europe experience slow network conditions.

Mobile Coverage map.png

In order to ensure the highest quality for your application, you must continuously keep an eye on the end user experience and performance. Preferably this monitoring occurs automatically. With Hewlett Packard Enterprise Network Virtualization you can test your applications under real world network conditions, so you truly understand the actual user experience and response times. Then use the NV analytics solution to get important insights which allow you to constantly optimize application performance.

Adding real world network conditions to your tests as part of the continuous integration cycle is essential. To accomplish this, we have designed a single user performance test approach which is based on three elements:

NV SDK

NV 9.x product exposes a full and rich RESTful API, you can run any test written in any framework and control the network emulation from it. As of Network Virtualization 9.10, we are providing a Java and JavaScript libraries wrapping our REST API for a much more convenient control. A user can just import/include those libraries as part of the test script code and add the network emulation dimension to measure the response times to better understand and monitor the end user experience over slow networks.

Here is an example of Selenium Test using NV SDK.

 

 

 

API Node Js module.PNG

 

NV Jenkins Plugin

Let’s assume you have your testing assets already and you don’t want to alter them. For this case, I encourage you to take advantage of our new NV Jenkins plugin and run a job which encapsulates those existing scripts and add emulated network conditions on top.

To accomplish this simply:

  • Pick a few functional/mobile tests that you want to constantly monitor the network influence of on the end user experience.
  • Define network profiles to run them with each profile you set. Additionally, define a threshold for the expected response time. If a script execution passed this threshold – the CI build should fail and the developers should receive a notification. In the near future, as part of this process, the dev team can get the NV Analytics for actionable root cause analysis so it would be super easy and quick to fix those degradations.

This movie demonstrates this capability

Network Capture Express

Having production data as part of your testing cycle is always a blessing. Fortunately, we have introduced the new version of Network Capture Express mobile application to help you gather this production data. With it a user can measure and capture the network conditions (latency, bandwidth and packet loss) from his device. The network conditions can be gathered from anywhere around the globe with his current carrier and current network type (Wi-Fi, LTE, 4G etc..) to his application under test URL. The capturing outcome is a propriety, dynamic recoding file that HPE testing tools (which are integrated with Network Virtualization) can replay alongside the performance, functional or mobile testing scripts.

Network Capture Express Results.png

 

 

Github repositories:
NV JS Library
NV Java Library

NV Java API Jar - in Maven Central:
The NV Java API jar is on Maven Central. Just search hpe-nv-java-api in the Nexus Repository Manager

NV JS API Node.js Module - in npm:
NV JS API Node.js module was published to npm

Jenkins:
NV Jenkins plugin
NV Jenkins Plugin wiki

 

Visit HPE NV Homepage here to learn more about the capabilities of Network Virtualization. Make sure you visit our new NV online help page for answers to your toughest questions.

 

Read more about HPE NV 9.10 capabilities:

 

Try NV Insights to easily find out more about your network performance.  

 

 

0 Kudos
About the Author

Guy_Rosenthal

Network Virtualization Product Manager

Comments
dipluv
on ‎08-23-2016 06:26 AM

This is really very helpful information. I think by using NV Jenkins plugin network performance wil be smooth and fast. www.healthupay.com.

Events
June 6 - 8, 2017
Las Vegas, Nevada
Discover 2017 Las Vegas
Join us for HPE Discover 2017 in Las Vegas. The event will be held at the Venetian | Palazzo from June 6-8, 2017.
Read more
Each Month in 2017
Online
Software Expert Days - 2017
Join us online to talk directly with our Software experts during online Expert Days. Find information here about past, current, and upcoming Expert Da...
Read more
View all