Most people haven’t heard the word, “gamification,” even though they probably, and perhaps unwittingly, participate in it every day.
Gamification is “the process of adding games or game-like elements to something (as a task) so as to encourage participation.” Further, gamification is about bringing game mechanics – rules, constructs, processes, and methods – into the real world in an effort to engage people.
In his session at @ThingsExpo, Robert Endo, owner and engagement manager of Intrepid D...| By Tim Hinds | Article Rating: |
|
| January 20, 2016 09:15 AM EST | Reads: |
165 |
Providing a full-duplex communication channel over a single TCP connection, WebSocket is the most efficient protocol for real-time responses over the web. If you're utilizing WebSocket technology, performance testing will boil down to simulating the bi-directional nature of your application.
Introduced with HTML5, the WebSocket protocol allows for more interaction between a browser and website, facilitating real-time applications and live content. WebSocket technology creates a persistent connection between the client and server, circumventing the requirement for a client-initiated HTTP request to trigger a server response. Providing a full-duplex communication channel over a single TCP connection, WebSocket is the most efficient protocol for real-time responses over the web.
If you're utilizing WebSocket technology, performance testing will boil down to simulating the bi-directional nature of your application.
Synchronous vs. Asynchronous Calls
First, you'll need to understand the kind of WebSocket communication your application is using: synchronous and asynchronous calls.
In addition to facilitating real-time applications, WebSockets are also used by web developers as a way of maintaining a faster, longer connection between client and server, even for traditional request-response purposes. This traditional request-response communication via WebSockets results in synchronous calls.
Asynchronous calls, on the other hand, do not require a client request to initiate a server response. The server automatically pushes information and updates over a single TCP connection (which remains open), allowing for an ongoing, bi-directional conversation.
Testers must be aware of the differences between the two in order to properly measure response times and validate the performance of their applications.
Considerations
Asynchronous Calls
Things can get a bit tricky when it comes to measuring the response times of asynchronous calls. Traditionally, testers would measure the time it takes from when a client sends a request and receives a response. With asynchronous calls, the end user's actions will determine server interactions and as such, it can be difficult to measure the time it takes to transport the message to the client, or latency.
Because messages are generated by external events and the server decides when to send messages to all connected clients, it's in testers' best interest to measure the time it takes for a client to receive a message after the triggering of an external event.
Synchronous Calls
Compared to asynchronous calls, measuring response times for synchronous calls is much easier and more straightforward. It's related to the Q&A approach where testers merely send a request and wait for the response.
Designing Tests
Designing test cases for synchronous calls is simple as testers will only need to understand each request/response as it relates to user interaction. The real challenge lies in designing tests for asynchronous calls.
The nature of asynchronous calls will change the logic required in designed load testing scenarios and testers will face many of the issues also associated with testing streaming media and long polling.
Limitations
Testers may face hardware and browser compatibility limitations when dealing with WebSockets. An open WebSocket channel facilitates a direct, open connection between the client and server. If there are thousands of customers or connections accessing data via your server, testers will need to adjust the backend accordingly based on the number of sockets a single server can handle.
There are also a few browsers that don't support WebSocket communication. When this is the case, the application will replace the WebSocket communication with long polling. For performance engineers, this means creating two user paths for each use case (one using WebSockets, the other using long polling). To ensure realistic load testing, testers must take into account the ratio of browsers that are WebSocket compatible and ones that are not.
Tips for Load & Performance Testing WebSockets
Asynchronous Calls
The way you measure latency for asynchronous calls directly relates to the application framework. For example, when using Socket.IO, the inclusion of a timestamp within the WebSocket message should be a requirement. Testers can immediately send a message and then after receiving a response at the client level, calculate the time between the timestamps. There isn't a standard framework for WebSockets and out of the frameworks that do support WebSocket communication, few automatically include the timestamp. Testers may need to work with developers on including this information in messages. It may be a pain, but it's necessary to test the performance of WebSockets.
Synchronous Calls
To measure response times for synchronous calls, you'll need to make sure that your load testing solution first supports WebSocket technology. It should also be able to link the WebSocket request with the proper WebSocket response. It's important to note that the capability to test this asynchronous communication is a rarity among software testing products - choose your tool wisely.
Designing Tests
For newer testers and testers used to designing normal web scenarios, designing tests to handle calls via WebSocket can be confusing. It's going to come down to understanding your application and the nature of the request-response communication. When designing your tests, make sure you're reproducing the behavior of your application communicating with a real browser.
Designing test cases for synchronous calls, again, is fairly simple as these calls employ traditional request/response communication. To measure their performance, you'll need to equip your testing team with a load testing solution that enables testing of synchronous calls over WebSockets.
Designing test cases for asynchronous calls is a bit more challenging. In this case, users connected via WebSockets will take a specific action from the moment information is displayed on the screen. For example, a user might decide to purchase stock when the price reaches a certain level. Otherwise, the user may take no action at all. Keep in mind, the user action included in your use case depends on the information that does or does not arrive via the WebSocket channel.
Limitations
To address hardware issues, you'll need to ensure that you have several servers to balance the load accessing your WebSocket connections. Unlike HTTP communication where the connection is closed after a successful request-response interaction, WebSocket connections remain open. These connections will close if your servers are unable to handle the load, resulting in poor application performance for end users.
To combat browser incompatibility, you can introduce a WebSocket framework as a workaround. Otherwise, you'll need to design and execute polling scenarios during your load and performance testing.
The nature of WebSockets also poses challenges - it's a transport layer, so your project could be exchanging text data, binary data, etc. Performance engineers will need to decode or deserialize the WebSocket messages in order to correlate testing scenarios.
Conclusion
WebSockets simply provide a way to exchange data, so this technology isn't going to drastically change the way organizations deal with tests. Testing teams just have to understand the challenges they'll face when handling WebSockets-like browser incompatibility and collecting response times of asynchronous calls.
Ultimately, equipping your testing team with a load testing solution that not only provides the ability to test request-response apps that leverage WebSockets, but that can also manage the uninitiated responses sent by the server, will result in the most effective, realistic performance testing.
In terms of ensuring a seamless user experience, measuring the latency isn't enough. To truly validate the performance of an application utilizing WebSockets, you should combine your WebSocket load testing scenarios with scenarios on a browser-based tool like Selenium, but that is a topic for another post.
Published January 20, 2016 Reads 165
Copyright © 2016 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Tim Hinds
Tim Hinds is the Product Marketing Manager for NeoLoad at Neotys. He has a background in Agile software development, Scrum, Kanban, Continuous Integration, Continuous Delivery, and Continuous Testing practices.
Previously, Tim was Product Marketing Manager at AccuRev, a company acquired by Micro Focus, where he worked with software configuration management, issue tracking, Agile project management, continuous integration, workflow automation, and distributed version control systems.
Most people haven’t heard the word, “gamification,” even though they probably, and perhaps unwittingly, participate in it every day.
Gamification is “the process of adding games or game-like elements to something (as a task) so as to encourage participation.” Further, gamification is about bringing game mechanics – rules, constructs, processes, and methods – into the real world in an effort to engage people.
In his session at @ThingsExpo, Robert Endo, owner and engagement manager of Intrepid D...Jan. 21, 2016 02:45 AM EST Reads: 287 |
By Pat Romanski Contrary to mainstream media attention, the multiple possibilities of how consumer IoT will transform our everyday lives aren’t the only angle of this headline-gaining trend. There’s a huge opportunity for “industrial IoT” and “Smart Cities” to impact the world in the same capacity – especially during critical situations. For example, a community water dam that needs to release water can leverage embedded critical communications logic to alert the appropriate individuals, on the right device, as...Jan. 21, 2016 02:00 AM EST Reads: 797 |
By Elizabeth White The Internet of Things (IoT), in all its myriad manifestations, has great potential. Much of that potential comes from the evolving data management and analytic (DMA) technologies and processes that allow us to gain insight from all of the IoT data that can be generated and gathered. This potential may never be met as those data sets are tied to specific industry verticals and single markets, with no clear way to use IoT data and sensor analytics to fulfill the hype being given the IoT today. Jan. 21, 2016 12:00 AM EST Reads: 884 |
By Liz McMillan WebRTC has had a real tough three or four years, and so have those working with it. Only a few short years ago, the development world were excited about WebRTC and proclaiming how awesome it was.
You might have played with the technology a couple of years ago, only to find the extra infrastructure requirements were painful to implement and poorly documented. This probably left a bitter taste in your mouth, especially when things went wrong.Jan. 20, 2016 09:00 PM EST Reads: 385 |
By Elizabeth White For manufacturers, the Internet of Things (IoT) represents a jumping-off point for innovation, jobs, and revenue creation. But to adequately seize the opportunity, manufacturers must design devices that are interconnected, can continually sense their environment and process huge amounts of data.
As a first step, manufacturers must embrace a new product development ecosystem in order to support these products. Jan. 20, 2016 07:30 PM EST Reads: 386 |
By Liz McMillan Jan. 20, 2016 05:45 PM EST |
By Pat Romanski The IoT's basic concept of collecting data from as many sources possible to drive better decision making, create process innovation and realize additional revenue has been in use at large enterprises with deep pockets for decades. So what has changed?
In his session at @ThingsExpo, Prasanna Sivaramakrishnan, Solutions Architect at Red Hat, discussed the impact commodity hardware, ubiquitous connectivity, and innovations in open source software are having on the connected universe of people, thi...Jan. 20, 2016 05:00 PM EST Reads: 358 |
By Pat Romanski Jan. 20, 2016 03:15 PM EST |
By Elizabeth White When it comes to IoT in the enterprise, namely the commercial building and hospitality markets, a benefit not getting the attention it deserves is energy efficiency, and IoT’s direct impact on a cleaner, greener environment when installed in smart buildings. Until now clean technology was offered piecemeal and led with point solutions that require significant systems integration to orchestrate and deploy. There didn't exist a 'top down' approach that can manage and monitor the way a Smart Buildi...Jan. 20, 2016 03:00 PM EST Reads: 803 |
By Liz McMillan Jan. 20, 2016 03:00 PM EST |
By Pat Romanski Jan. 20, 2016 02:45 PM EST |
By Elizabeth White As the Internet of Things becomes more capable, moving from an initial ad hoc bundle of chaos to an optimized set of interconnected assets, we will need to ensure it performs and is reliable.
But this means the tools measuring the performance and reliability of the IoT will also need to mature as the need for timely, understandable, quality, business-critical information becomes paramount. Sensors that are malfunctioning, devices that are offline, data that’s little more than noise can all scut...Jan. 20, 2016 02:15 PM EST Reads: 400 |
By Liz McMillan SYS-CON Events announced today that Interface Masters Technologies, a leading vendor in the network monitoring and high speed networking markets, will exhibit at the 18th International CloudExpo®, which will take place on June 7-9, 2016, at the Javits Center in New York City, New York, and the 19th International Cloud Expo, which will take place on November 1–3, 2016, at the Santa Clara Convention Center in Santa Clara, CA.Jan. 20, 2016 02:15 PM EST Reads: 419 |
By Elizabeth White Jan. 20, 2016 01:45 PM EST |
By Elizabeth White With the exponential growth of network traffic slowing down data transmission, companies are looking for solutions. Recently, a solution has emerged that can help improve your data speed with data centers on the edge. These micro data center solutions can simplify the lives of many data center owners and operators because they are self-contained, secure computing environments, assembled in a factory and shipped in one enclosure which includes all the necessary power, cooling, security, and manag...Jan. 20, 2016 01:00 PM EST Reads: 587 |
By Elizabeth White The Internet of Things is in the early stages of mainstream deployment but it promises to unlock value and rapidly transform how organizations manage, operationalize, and monetize their assets. IoT is a complex structure of hardware, sensors, applications, analytics and devices that need to be able to communicate geographically and across all functions. Once the data is collected from numerous endpoints, the challenge then becomes converting it into actionable insight.Jan. 20, 2016 01:00 PM EST Reads: 504 |
By Elizabeth White Jan. 20, 2016 12:45 PM EST |
By Carmen Gonzalez NHK, Japan Broadcasting, will feature the upcoming @ThingsExpo Silicon Valley in a special 'Internet of Things' and smart technology documentary that will be filmed on the expo floor between November 3 to 5, 2015, in Santa Clara. NHK is the sole public TV network in Japan equivalent to the BBC in the UK and the largest in Asia with many award-winning science and technology programs. Japanese TV is producing a documentary about IoT and Smart technology and will be covering @ThingsExpo Silicon Val...Jan. 20, 2016 12:30 PM EST Reads: 514 |
By Elizabeth White SYS-CON Events announced today that Fusion, a leading provider of cloud services, will exhibit at SYS-CON's 18th International Cloud Expo®, which will take place on June 7-9, 2016, at the Javits Center in New York City, NY.
Fusion, a leading provider of integrated cloud solutions to small, medium and large businesses, is the industry's single source for the cloud. Fusion's advanced, proprietary cloud service platform enables the integration of leading edge solutions in the cloud, including clou...Jan. 20, 2016 11:45 AM EST Reads: 301 |
By Elizabeth White Jan. 20, 2016 11:30 AM EST Reads: 414 |

Contrary to mainstream media attention, the multiple possibilities of how consumer IoT will transform our everyday lives aren’t the only angle of this headline-gaining trend. There’s a huge opportunity for “industrial IoT” and “Smart Cities” to impact the world in the same capacity – especially during critical situations. For example, a community water dam that needs to release water can leverage embedded critical communications logic to alert the appropriate individuals, on the right device, as...
The Internet of Things (IoT), in all its myriad manifestations, has great potential. Much of that potential comes from the evolving data management and analytic (DMA) technologies and processes that allow us to gain insight from all of the IoT data that can be generated and gathered. This potential may never be met as those data sets are tied to specific industry verticals and single markets, with no clear way to use IoT data and sensor analytics to fulfill the hype being given the IoT today.
WebRTC has had a real tough three or four years, and so have those working with it. Only a few short years ago, the development world were excited about WebRTC and proclaiming how awesome it was.
You might have played with the technology a couple of years ago, only to find the extra infrastructure requirements were painful to implement and poorly documented. This probably left a bitter taste in your mouth, especially when things went wrong.
For manufacturers, the Internet of Things (IoT) represents a jumping-off point for innovation, jobs, and revenue creation. But to adequately seize the opportunity, manufacturers must design devices that are interconnected, can continually sense their environment and process huge amounts of data.
As a first step, manufacturers must embrace a new product development ecosystem in order to support these products.
The IoT's basic concept of collecting data from as many sources possible to drive better decision making, create process innovation and realize additional revenue has been in use at large enterprises with deep pockets for decades. So what has changed?
In his session at @ThingsExpo, Prasanna Sivaramakrishnan, Solutions Architect at Red Hat, discussed the impact commodity hardware, ubiquitous connectivity, and innovations in open source software are having on the connected universe of people, thi...
When it comes to IoT in the enterprise, namely the commercial building and hospitality markets, a benefit not getting the attention it deserves is energy efficiency, and IoT’s direct impact on a cleaner, greener environment when installed in smart buildings. Until now clean technology was offered piecemeal and led with point solutions that require significant systems integration to orchestrate and deploy. There didn't exist a 'top down' approach that can manage and monitor the way a Smart Buildi...
As the Internet of Things becomes more capable, moving from an initial ad hoc bundle of chaos to an optimized set of interconnected assets, we will need to ensure it performs and is reliable.
But this means the tools measuring the performance and reliability of the IoT will also need to mature as the need for timely, understandable, quality, business-critical information becomes paramount. Sensors that are malfunctioning, devices that are offline, data that’s little more than noise can all scut...
SYS-CON Events announced today that Interface Masters Technologies, a leading vendor in the network monitoring and high speed networking markets, will exhibit at the 18th International CloudExpo®, which will take place on June 7-9, 2016, at the Javits Center in New York City, New York, and the 19th International Cloud Expo, which will take place on November 1–3, 2016, at the Santa Clara Convention Center in Santa Clara, CA.
With the exponential growth of network traffic slowing down data transmission, companies are looking for solutions. Recently, a solution has emerged that can help improve your data speed with data centers on the edge. These micro data center solutions can simplify the lives of many data center owners and operators because they are self-contained, secure computing environments, assembled in a factory and shipped in one enclosure which includes all the necessary power, cooling, security, and manag...
The Internet of Things is in the early stages of mainstream deployment but it promises to unlock value and rapidly transform how organizations manage, operationalize, and monetize their assets. IoT is a complex structure of hardware, sensors, applications, analytics and devices that need to be able to communicate geographically and across all functions. Once the data is collected from numerous endpoints, the challenge then becomes converting it into actionable insight.
NHK, Japan Broadcasting, will feature the upcoming @ThingsExpo Silicon Valley in a special 'Internet of Things' and smart technology documentary that will be filmed on the expo floor between November 3 to 5, 2015, in Santa Clara. NHK is the sole public TV network in Japan equivalent to the BBC in the UK and the largest in Asia with many award-winning science and technology programs. Japanese TV is producing a documentary about IoT and Smart technology and will be covering @ThingsExpo Silicon Val...
SYS-CON Events announced today that Fusion, a leading provider of cloud services, will exhibit at SYS-CON's 18th International Cloud Expo®, which will take place on June 7-9, 2016, at the Javits Center in New York City, NY.
Fusion, a leading provider of integrated cloud solutions to small, medium and large businesses, is the industry's single source for the cloud. Fusion's advanced, proprietary cloud service platform enables the integration of leading edge solutions in the cloud, including clou...
Machine-to-machine (M2M) technology has impacted the healthcare sector heavily, unlike the trivial impact of the technology on an array of other verticals. M2M connected healthcare, which operates in an IT ecosystem, enables a range of healthcare service offerings, such as easy sharing of healthcare-related data pertaining to the medical history, personal information, diagnostic results, prescription information, clinical data, and other data regarding patients. The other uses of M2M connected healthcare lie in home monitoring, assisted living, clinical monitoring, and telemedicine.
I often write about the Internet of Things, or the soon-to-be-cliché IoT. You know, the smart-fridges, smart-cars, smart-thermostats, healthcare devices, wearables and any of those connected devices that have a sensor, gathers data and reports back to some entity. You are able to control these devices (and see the data) with mobile apps or even your own voice and gestures. They are all the rage and sitting at the top of the Gartner Hype Cycle.
But it’s all the various sensors inside those devices that are doing the actual measuring, calculating, tracking and reporting. Each has its own spec...
Hello Barbie™! is an IoT-enabled (Internet of Things) Barbie Doll with blonde hair, blue eyes and a built-in surveillance system. She’s not the first of her kind (and she won’t be the last), but here’s what you should know about bringing it, or any connected device, into your home.
Everything that connects to the public Internet is vulnerable. Encryption does not solve the problem. While it is true that you need about 6.4 billion years to crack a 2048-bit PGP encrypted file, I can probably socially engineer you out of your encryption key by attaching a little piece of malware to an email that...
Shivon Zilis is an investor at Bloomberg Beta, a very interesting early stage venture capital fund. I knew I would like Bloomberg Beta when I saw how they do their website. It is smart and reflects very well on their leadership team: They decided to leverage GitHub for their site. Doing so puts them one step closer to the creators that a VC in their space needs to know and is a great way to step out in a trust-based relationship. It is also a great way to be more transparent- they use GitHub to provide their entire operating manual for all to see.
IoT depends to a large part on the availability of custom hardware of sensors that can be efficiently manufactured with exacting tolerances in its specifications. Smart Parts manufacturing will be one of the key technologies required to address the IoT 3D Sensors and 3D Antennae.
Optomec which manfuactures production grade 3D printers can manufacture parts both in plastics and metals.
In the late 1990's Tom Standage released the first edition of a book that would sweep across the tech community because of its incredible analogies to the rise of the Internet hitting the world at that time. The "Victorian Internet", first released in 1998, was updated and re-released again in 2013. It provided a well written history and meaningful assessment of the rise of the Telegraph, and made very interesting observations about how the remarkable impact of the Telegraph could help us all think through what may happen as the Internet progressed.
There's no doubt that there's a lot more "connected things" these days and that means a lot more data. Specifically, technology is moving out of the consumer's hands and into Healthcare, Oil & Gas, Transportation, Aviation and more. The spread of smart devices and sensors creates new forms of value and brings challenges for enterprises seeking to exploit this technology. However, while this boom in data has the potential to advance the industrial space in ways never before thought possible, few companies today have the right technologies in place or the right business models that can truly uti...
Over the past couple of years IoT has become the most hyped word around the world, and rightly so because we all know IoT is here to stay.
So what is IoT?
IoT stands for the Internet of Things. It refers to the devices that are connected through the internet. The basic concept is connecting any device with an on and off switch to the Internet, devices such as cell phones, wearable devices, coffee machines, connected homes even your refrigerator and all those things you can think of.
We have collected a list of factors that will demonstrate how rapidly this sector is growing, and some mind-b...
Printed electronics are being touted as the next best thing in Internet of Things (IoT), the technology that is rightly regarded as a boon of advancing technology. Silicon-based sensors are the first that have been associated with IoT technology. These sensors have numerous applications, such as track data from airplane, wind turbines, engines, and medical devices, among other internet connected devices.
Fresh off the Vegas-style hypefest that is the Consumer Electronics Show, fitness wearables darling Fitbit is already in hot water. Numerous customers, furious at the inaccuracies of Fitbit’s devices, filed a national class-action lawsuit on January 5.
“Plaintiffs and many consumers like them have experienced—and testing confirms—that the [Fitbit] PurePulse Trackers consistently mis-record heart rates by a very significant margin, particularly during exercise,” the lawsuit alleges. “Far from ‘counting every beat,’ the PurePulse Trackers do not and cannot consistently and accurately record wea...
In the previous blog I did a high-level overview of Angular 2 router and wrote a basic routing application that demonstrated displaying different components in a predefined area of the window. We often need not only display a component, but also pass some data to it.
For example, if we navigate from the Home to the Product Detail route we need to pass the product ID to the destination route. Angular offers a directive RouteParams so a route can receive data from the parent component. There is also a RouteData directive that can be used to pass additional data to a route from the @RouteConfig ...
If you were too busy with things and unable to give the desired attention to planning the right steps for your business in 2016, fear not. You’re not alone, and yes welcome to the party! With too many things going on, I could completely believe if you said you don’t have time to breathe. The boss wants the reports, the customer wants the installation while the sales teams have been asking for help on some technical stuff. You can only do as much as you do. With so much going around us, it’s also sometimes hard to keep up with what really matters. Here is how to achieve planned success in this ...
When we look back at the IT world in 2015, we think of high profile hacks and crashes that brought vastly expensive systems to their knees - Ashley Madison, United Airlines, the New York Stock Exchange and so on... With the constant disruption and complexity added to an already convoluted IT landscape, your success in 2016 will center around how well you decipher complexity. Will you fail under the added weight of new technology, or can you weave your way through to rise above it?






















