JMeter Basics: Recording Scripts

Source: Internet
Author: User
Tags compact

Jmeter is a very popular performance testing tool, although compared with LoadRunner has a lot of deficiencies, such as: It results analysis capability is not loadrunner detail, and its advantages are many:

L Open Source, he is an open source of free software, use it you do not have to pay any fees,

L Compact, Large compared to LR (the latest LR11 will be nearly 4GB), it is very small, do not need to install, but need JDK environment, because it is the use of Java development tools.

L Powerful, JMeter design is just a simple Web performance testing tool, but after the update extension, can now complete the database, FTP, LDAP, WebService and other aspects of the test. Because of its open source, of course, you can also expand its functionality according to your needs.

I think it's more like a Swiss Army knife, compact and full-featured. When I first met JMeter, I think it's bad because it doesn't have a script recording function compared to LR, maybe not no, just I don't know, because the document describes this, I want to do a Web performance test, I will manually add a loop controller, HTTP information management header, HTTP requests and so on various components. If there are more scripts to test, this is definitely a physical activity.

Badboy is a good web automation test tool that is used to record scripts, and the recorded scripts can be saved directly as jmeter files. I have undoubtedly brought us great convenience.

----------------------My Environment------------

Badboy Version 2.1.1

Apache JMeter-2.3.4 (requires JDK environment to run)

--------------------------------------------

The first method: Record the script by Bodboy.

1. Open the Person Badboy tool, click the red Circle button on the work column, enter the address of the test item in the Address column.

When the recording is complete, click the Black button next to the toolbar to end the recording.

Select "File"--àexport to Jmeter ...

2. Open the JMeter tool, select "File"--> "open" Select the file you just saved (. JMX type), import the file into the.

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.