Skip to Content
Mobile

SAP Mobile Platform - Load Testing Mostly Offline Applications

Tags:

SMP Enterprise Readiness: Webinar Series

In addition to the assets that you find on below SCN pages, we - the SAP Mobile Rapid Innovation Group (RIG) - host a series of webinars around Enterprise Grade Mobility with SMP.

The webinars will be presented by mobility experts from within SAP: Every week, every Thursday, and they are free to attend! And yes, we'll post recordings a few days after the sessions.

Video Series 'Load Testing the SAP Mobile Platform'

We have prepared a series of videos to introduce you to and help you with Load Testing the SAP Mobile Platform, covering the following topics

  • 'Introduction' provides you with an overview into the topic of Load Testing, different tools and different kind of apps with distinct testing requirements.
  • In 'Mostly Offline Apps' we explain how to use HP LoadRunner and Apache JMeter for load testing Replication Based Synchronization apps (RBS)
  • In 'Mostly Online Apps' we show how to use LoadRunner for load testing¬† Hybrid Web Container (HWC) & On-line Data Proxy (ODP).

Load Testing 'Mostly Offline' (RBS) applications with LoadRunner and JMeter is supported as of Sybase Unwired Platform (SUP) 2.1.2, including the SAP Mobile Platform (SMP) 2.3.

Enterprise Scale Mobility

Life Cycle Management

PerformanceSecuritySupportability

Load Testing Overview 

Load Testing

Introduction

Load Testing

Offline Apps

Load Testing Online Apps


Load testing mostly offline apps - Replication Based Synchronization

We have prepared two video presentations to walk you through the steps of load testing RBS mobile apps.

  • In the first set of 5 videos, @John Polus explains the process for our preferred tool for load testing: HP LoadRunner.
    Alternatively, you can view Dong Pan's presentation on the same topic, on one full length video (part of webinar series).
  • The second set of 4 videos is presented by @Julian Breuksch, explaining the same process for JMeter.
    We have published a separate How-To Guide, which includes the code that is used in the videos and is needed to complete the tutorial.

John, Dong and Julian are members of the team SAP Mobile - Rapid Innovation Group (RIG).

Load Testing with LoadRunner

The this part of the the presentation series covers the following aspects:

  • Introduction to load testing 'mostly offline' mobile applications
  • Step 1 - Creating a 'Mini App' for the load testing
  • Step 2 - Preparing for the test
  • Step 3 - Perform the test
  • Step 4 - Results Analysis

Load Testing with LoadRunner
Full presentation including Screenshots


Video 1/5:
Introduction to load testing 'Mostly Offline' apps

Video 2/5:
Step 1 - Creating a 'Mini App' for the load testing

    1. Introduction to the load testing of 'mostly offline' mobile applications
    2. Overview of the 4 major phases of this process

Deep Dive into the steps required to create a 'mini app'

  1. Generate Client Code
  2. Create C# .Net project with Loadrunner VuGen
  3. Edit the Vuser project with Microsoft Visual Studio
  4. Copy the generated code to the project
  5. Create a runnable console app


Video 3/5:
Step 2 - Preparing for the tes

Video 4/5:

Step 3 - Perform the Test

  1. Required activities to prepare the load testing
  2. Preparation before creating the test script
  3. Create the load test script

Drill down into the tasks to perform the actual load test

  1. Run single user test with Visual Studio
  2. Make Project compatible with LoadRunner
  3. Edit and Run the Script in LoadRunner VuGen.
  4. Run many VUsers in LoadRunner Controlle


Video 5/5:
Step 4 - Results Analysis



This last video discusses the results analysis tasks


Load Testing with JMeter

In this part, we

  1. first discuss what the open source tool JMeter is and what it does.
  2. We explain how to create a Mobile Business Object,
  3. built a C# Mini App out of the generated code, and how to prepare it for usage in JMeter.
  4. The series concludes with a demonstration of how to perform the actual load test.

Part 1: Overview & Prerequisites

Part 2:
Creating a MBO, out of which the C# Mini App is built

  • Introduction to this part of the Load Testing video series.
  • High-level overview on what JMeter is and what it does.

Before the C# mini app can be created, you need to create a Mobile Business Object, using the SDK of the SUP/SMP.

This will allow the mini app to communicate with the mobile platform.


Part 3: Customizing the generated code for JMeter

Part 4: Using the MiniApp to perform Load Tests

We show you how to create the C# applications out of the generated code of the MBO, which you created in the previous step. This step is done in Visual Studio.

With the C# Mini App created, we can now show you how to perform the load tests in JMeter.

This last video discusses the results analysis tasks.