Apache JMeter HTTP(S) Test Script Recorder



Similar documents
CA APM Cloud Monitor. Scripting Guide. Release 8.2

So in order to grab all the visitors requests we add to our workbench a non-test-element of the proxy type.

JMeter Testing. Identify Preformance acceptance criteria: Identfy throughput,response time and resource utilization goals and constraints.

JMETER - MONITOR TEST PLAN

UKCMG TEC 2010 Track P - Performance

Summer Internship 2013

Elluminate Live! Access Guide. Page 1 of 7

Load testing with. WAPT Cloud. Quick Start Guide

BusinessObjects Enterprise XI Release 2

ISSN: (Online) Volume 2, Issue 1, January 2014 International Journal of Advance Research in Computer Science and Management Studies

Spam Marshall SpamWall Step-by-Step Installation Guide for Exchange 5.5

Elluminate Live! Access Guide. Page 1 of 7

1. If there is a temporary SSL certificate in your /ServerRoot/ssl/certs/ directory, move or delete it. 2. Run the following command:

Load Balancing Oracle Application Server (Oracle HTTP Server) Quick Reference Guide

SETUP SSL IN SHAREPOINT 2013 (USING SELF-SIGNED CERTIFICATE)

User Guide for Paros v2.x

P&WC Portal Settings. 1) Portal Language Setting:

DDNS Management System User Manual V1.0

SBBWU PROXY SETTING IT CENTRE How to Set a Proxy Server in All Major Internet Browsers for Windows

client configuration guide. Business


CONFIGURING VIRTUAL TERMINAL: This is the screen you will see when you first open Virtual Terminal

How To Test Your Web Site On Wapt On A Pc Or Mac Or Mac (Or Mac) On A Mac Or Ipad Or Ipa (Or Ipa) On Pc Or Ipam (Or Pc Or Pc) On An Ip

TECHNICAL CONDITIONS REGARDING ACCESS TO VP.ONLINE. User guide. vp.online

REQUIREMENTS AND INSTALLATION OF THE NEFSIS DEDICATED SERVER

Sentral servers provide a wide range of services to school networks.

1. Tutorial Overview

OrgPublisher 11 Web Administration Installation for Windows 2008 Server

Setting Up groov Mobile Apps. Introduction. Setting Up groov Mobile Apps. Using the ios Mobile App

Using Remote Web Workplace Version 1.01

PHP+MYSQL, EASYPHP INSTALLATION GUIDE

5.6.2 Optional Lab: Restore Points in Windows Vista

XStream Remote Control: Configuring DCOM Connectivity

Remote Viewer Recording Backup

How To Create A Hyperlink In Publisher On Pc Or Macbookpress.Com (Windows) On Pc/Apple) On A Pc Or Apple Powerbook (Windows 7) On Macbook Pressbook (Apple) Or Macintosh (Windows 8

SAIP 2012 Performance Engineering

ICONICS Using the Azure Cloud Connector

This presentation covers virtual application shared services supplied with IBM Workload Deployer version 3.1.

Intellect Platform - Tables and Templates Basic Document Management System - A101

Background Deployment 3.1 (1003) Installation and Administration Guide

Trend Micro Worry- Free Business Security st time setup Tips & Tricks

isupplier PORTAL ACCESS SYSTEM REQUIREMENTS

SSL Enablement of the DB2 Web Query for System i Server

Click-To-Talk. ZyXEL IP PBX License IP PBX LOGIN DETAILS. Edition 1, 07/2009. LAN IP: WAN IP:

Hudson configuration manual

HTTPS GATEWAY INSTRUCTIONS

Introduction to the MISD Web FTP Client

Phaser 3635MFP Software Upgrade Process

Cyclope Internet Filtering Proxy. - Installation Guide -

Configuring your client to connect to your Exchange mailbox

Securing Adobe connect Server and CQ Server

Choic Small Business Installation Guide DigiPortal Software, Inc.

WorldExtend IronDoor 3.5 Publishing a Terminal Services Application

Immersion Day. Creating an Elastic Load Balancer. Rev

National Fire Incident Reporting System (NFIRS 5.0) Configuration Tool User's Guide

Quick Note 026. Using the firewall of a Digi TransPort to redirect HTTP Traffic to a proxy server. Digi International Technical Support December 2011

USING STUFFIT DELUXE THE STUFFIT START PAGE CREATING ARCHIVES (COMPRESSED FILES)

Re-associating.ica file extension on Vista/Windows 7 machines

How to access Answering Islam if your ISP blocks it

Serving tn5250j in Web Documents from the HTTP Server for iseries

Advanced Digital Imaging

Customer Tips. Xerox Network Scanning HTTP/HTTPS Configuration using Microsoft IIS. for the user. Purpose. Background

HRG Performance Series DVR DDNS Support Application Note (hrgddns)

Setting up and creating a Local Area Network (LAN) within Windows XP by Buzzons

STEPS TO CONFIGURE YOUR MAC PROXY SETTINGS TO ENABLE DOCUMENTS TO BE ATTACHED TO A REQUISITION IN SAP

Firewall VPN Router. Quick Installation Guide M73-APO09-380

Talk-101 User Guides Web Content Filter Administration

Multi-Homing Dual WAN Firewall Router

CHAPTER 7 SSL CONFIGURATION AND TESTING

Adding Links to Resources

FTP Over SSL (FTPS) Core FTP LE. Installing Core FTP LE"

How to configure Linksys SPA for VOIP Connections

TWO WAYS TO SCHEDULE A SCOPIA VIDEO CONFERENCE BASED MEETING. 1- SCOPIA USER PORTAL 2- OUTLOOK SCOPIA MEETING PLUG-IN

Dostek Remote Support Guide

Installing Drupal on Your Local Computer

StreamServe Job Gateway

Kronos 6 Work Force Time Keeping System. Manager Procedure Manual

Load Balancing Advanced Operation Manual

Deployment for Network Proxy in Simpana Environment

How to create pop-up menus

DESKTOP CLIENT CONFIGURATION GUIDE BUSINESS

Home Station ADSL. You may also use the following address (regardless of whether you have changed the primary address or not):

MassTransit 6.0 Enterprise Web Configuration for Macintosh OS 10.5 Server

Manual Password Depot Server 8

Secure Web Development Teaching Modules 1. Security Testing. 1.1 Security Practices for Software Verification

Weston Public Schools Virtual Desktop Access Instructions

Document From MAXIMUM BUSINESS INFORMATION TECHNOLOGY ON A. OwnCloud User Manual. TO I Cafe`

Ricardo Perdigao, Solutions Architect Edsel Garcia, Principal Software Engineer Jean Munro, Senior Systems Engineer Dan Mitchell, Principal Systems

Upgrading from Call Center Reporting to Reporting for Call Center

You need to set up your browser in order to use the proxy server. This can be done as follows:

5. At the Windows Component panel, select the Internet Information Services (IIS) checkbox, and then hit Next.

1. Open Thunderbird. If the Import Wizard window opens, select Don t import anything and click Next and go to step 3.

How to recover IE Client

Funeral Home Software Instruction Manual

How to add your Weebly website to a TotalCloud hosted Server

Scan to Quick Setup Guide

Transcription:

Apache JMeter HTTP(S) Test Script Recorder This tutorial attempts to explain the exact steps for recording HTTP/HTTPS. For those new to JMeter, one easy way to create a test plan is to use the Recorder. Jmeter configuration Since JMeter 2.10, recording has been improved to better handle embedded resources and creation of certificates on the fly. To enable these features, JMeter uses keytool utility (available in JRE/JDK) so you need to ensure your configuration is correct, read this wiki page before starting: https://wiki.apache.org/jmeter/testrecording210 Note that recording is more powerful with a Java 7. Basic Instructions 1. Go to JMETER_HOME/bin and start JMeter with jmeterw.cmd on Windows and jmeter on Linux/Unix 2. Select Test Plan on the tree 3. Right click on the Test Plan and add a new thread group: Add > Threads (Users) > Thread Group 4. Select the Thread Group 5. Right click Add -> Config Element -> HTTP Request Defaults 1/8

6. In new HTTP Request Defaults element: Server name enter jmeter.apache.org 7. Path leave blank 8. Right click on the Thread Group and add a recording controller: Add > Logic Controller > Recording Controller 9. Next, select WorkBench 10. Right click on WorkBench and add the recorder: Add -> Non-Test Elements -> HTTP(S) Test Script Recorder 2/8

11. On HTTP(S) Test Script Recorder, click the Add button in URL Patterns to Include. This will create a blank entry; enter.*\.html. 12.Right click on HTTP(S) Test Script Recorder and add a listener: Add -> Listener -> View Results Tree 3/8

13. Return to HTTP(S) Test Script Recorder, and click the Start button at the bottom. This will start the JMeter proxy server which is used to intercept the browser requests. A file called ApacheJMeterTemporaryRootCA.crt will be generated in jmeter/bin folder. Install this certificate in your browser, if you don't know how to do it, read Installing the JMeter CA certificate for HTTPS recording in : http://jmeter.apache.org/usermanual/component_reference.html#http%28s %29_Test_Script_Recorder Configure your browser to use the JMeter Proxy At this point, JMeter's proxy is running. For this exercise, we will use Iceweasel/Firefox to view some pages on the JMeter website. 13. Start Iceweasel/Firefox, but do not close JMeter. 14. From the tool bar, click Edit -> Preferences (or Tools > Preferences ). This should bring up the options. 15. Select the Advanced tab, and Network tab 16. Click Settings button near the bottom. 4/8

17. On the new pop-up, check Manual proxy configuration. The address and port fields should be enabled now. 18. Address enter localhost or the IP address of your system 19. Port enter 8080. 20. Check Use this proxy server for all protocols 21. Click OK button 22. Click OK button again. This should return you to the browser Record your navigation 23. With your browser, in the Address bar at the top, enter 5/8

http://jmeter.apache.org/index.html and hit the enter key. 24. Click on a few links on JMeter's pages. 25. Close your browser and bring up the JMeter window. Expand the thread group and there should be several samplers. At this point, the test plan can be saved as is. If you forget to add default HTTP Request settings, you will have to manually delete the server name, and port. In this sample, there aren't any default request parameters. If a particular request parameter is required by all pages, the request defaults is where one would add the entries. 25. Select Thread Group 26. Right click Add -> Listener -> Summary Report to add an summary listener. 27.The summary listener will show some basic statistics. 6/8

27. Select Thread Group 28. Number of Threads enter 5 29. Ramp up Period do not change 30. Loop Count enter 100 Start the test At this point, we are ready to run our test plan and see what happens. Save the test plan. When you're ready to run the test, there's two ways: 1. Run -> Start 2. Ctrl R Before you start the test, select Summary Report. As the test runs, the statistics will change until the test is done. At the end of the test, the summary report should look like this. 7/8

While the test is running, in the upper right-hand corner, there should be a green square. When the test is done, the box should be grey. 8/8