Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Jmeter for performance testing

2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

Jmeter Basic Usage

Jmeter General Testing Lightweight Interface Testing: The simple steps are as follows:

1. Download jmeter, the jmeter package under linux and window generic

http://jmeter.apache.org/download_jmeter.cgi

This file can be used without installation and direct decompression

2. Enter the jmeter placement location:

I put it on disk D:

D:\javatools\apache-jmeter-2.9\bin Enter the directory windows click bat file

3. Click Start Project

cmd.exe below will pop up, do not close

Start up the interface:

4. Create a new project:

The steps for establishing a test project are as follows:

For example, interface: mo.ali.net:8080/gens? ee=90

Path: /gens

Server name: domain name mo.ali.net/Ip:10.11.21.11

Port number: port number of the link

Parameters are: parameters required by the interface, for example, ee is the parameter above

The project was established:

5. Add timer: absolute concurrency for loadrunner 10

Add Result Tracking:

6. View results

Aggregate report: specific meaning baidu, actual scenario application

View the result tree:

Jmeter Distributed Deployment:

Multiple load machines are used.

jmeter distributed pressure measurement in use

Three loaders and one controller;

The distributed implementation is in bin/jmeter.propertites of the controller

remotehosts=101.111.23.12,101.12.12.234

Click Run, remote start, your configuration 101.111.23.12 appears on the right

101.12.12.234 multiple loaders

Click on each one to execute separately, if all start click remote all start

2. Load Machine Deployment Start

Each load machine is installed on the same jmeter of the control machine, and the jmx scripts deployed on each machine are consistent; start each load machine: enter bin/jmeter. sh or jmeter.bat

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report