Jmeter+badboy Environment Construction

Source: Internet
Author: User

Since I am the direction of performance testing, so all the posts are in accordance with their own environment or the lessons learned to write blog, welcome everyone to exchange messages.

In fact, performance testing is not only LoadRunner can do, in the many tools we have not tried, but also can do performance testing. Today, we will briefly introduce you to the installation of this simple performance testing tool and the recording tool Badboy, and follow up with you jmeter the detailed use of the tool, please keep on jmeter.

"JMeter Installation"

1. In fact, JMeter is not required to install, directly download a compressed package, unzip it into your own built folder path can be.

2. It is important to configure the environment variables, the following is the configuration of the environment variables:

1) on the desktop select "My Computer" (right-click), Advanced, environment variable, in "System variables"---> "new", enter in variable name: jmeter_home, variable Value input: D:\apache-jmeter-2.11 (here is just an example, But actually it depends on where you are located, my path is as follows:

2) Modify the CLASSPATH variable and add the%jmeter_home%\lib\ext\apachejmeter_core.jar;% to the value of the variable Jmeter_home%\lib\jorphan.jar;%jmeter_home %\lib\logkit-1.2.jar; Then make sure you can.

3) then click on the JMeter directory under the Bin folder Jmeter.bat can open JMeter, the last Open interface is as follows:

"Badboy"

1. Download the Badboy installation package

2. Click the badboy.exe directly to install, the installation is complete open to see the following interface:

"Badboy Recording Script"

1. Open the Badboy, as shown above.

2. In the URL address field, enter the URL of the script you want to record, then click the green arrow and click the Red Circle button at the top to start recording the script:

3. Start working on the browser provided by Badboy to make sure that you have the record button on your own. ~badboy will take your actions in step-by-step, you can see the specific operation record on the left, as shown below:

4. After recording, click the Stop button, which is the red button, then click on the head: File--->export to JMeter, you can convert the script you just recorded into JMeter script, as follows:

5. The JMeter script exported here will be used later in the JMeter stress test. If you do not have a suitable test environment, consider referring to my previous two blog posts to build your own environment, and then to record, refer to the following links:

Build a Web site and connect to a database in a Linux environment built TOMCAT+MYSQL+JDK environment


Today is just a brief introduction of how to install JMeter and Badboy and use Badboy, follow-up will talk about the use of JMeter specific examples.

Jmeter+badboy Environment Construction

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.