Recording the Android client application test script in IBM Rational performance Tester

Source: Internet
Author: User

Background of writing this article

As smartphone usage grows, more and more web-based applications are starting to provide the ability to access from mobile clients, whether the client is a browser or a native application. In both cases, these clients can use HTTP as a network protocol and, theoretically, they can be tested using the primary load test tools. On the other hand, most of the current available products, including IBM Rational performance Tester, do not have built-in functionality to record tests for mobile client applications.

This article describes how to use the Android emulator to set up a simple framework to record an Android application's HTTP test in Rational performance Tester.

Set up the Android emulator

The developers section of Android.com provides detailed installation steps for installing the Software Development Kit (SDK). Please refer to the Resources section of this article for a related link.

Install the necessary components

You need to install at least the following components:

Android SDK

Wanted Android platform (at least one platform needed)

SDK Platform Tools (Install the latest version)

You may want to download and install the Eclipse plug-in, but this is only for development purposes. Also, make sure that you have an updated version of the Java Development Kit (JDK) on your workstation. Only the Java Runtime Environment (JRE) is not sufficient.

Create a virtual device

After you install these components, you need to create a virtual device. You can use the wizards in Android Virtual Device Manager (AVD Manager) to do this by using the following steps:

In the Android SDK, open a terminal, navigate to the Tools directory, and execute: Android

In the Virtual Devices tab, select New.

Figure 1. To create a new virtual device

Fill in the following details for AVD:

Name: Names of virtual devices

Target: Targeted Android Platform

SD card: If your test does not require SD cards, you can leave the Size blank. Otherwise, specify the size you want.

Hardware: It is a good idea to allocate at least 1 GB of memory for a virtual device. Add a new property (Device RAM Size) and set its value to 1024.

Figure 2. AVD Detailed information

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.