JMeter Learning (29) Automated Badboy Script development Technology

Source: Internet
Author: User

Most people use Badboy with its recording function, the other badboy is also an automated tool, it can achieve checkpoints, parameterization, iteration, concurrency, reporting, breakpoints and other functions. This article provides a brief description of these functions.

Environment Preparation:

: http://www.badboy.com.au/, install after download.

Tool: Badboyinstaller-2.2.exe

First, the checkpoint

1, open Badboy, the default is the recording status, in the address bar input: http://http://www.sogou.com/, click, such as:

2. Enter Yangxia-test in the text box and click Search, such as:

3, select the text "Yangxia-test", click tools-add Assertion for Selection, such as:

4, Replay, click Playall, such as:

Second, the parameterization of

1. Set up a parametric list

2. replace the ${parameter name in the request}

The checkpoint is also set as a parameter form, such as:

To set the number of iterations , click on "Step1" right and select the for each value of Vari querytxt, as:

3, the Chinese may have garbled, change the code in the request, if there is no need to ignore this step. change IE to GBK

Iii. parameterization of the database

Set in Tools-data source. Set it yourself according to your needs.

Note: The data source is placed at the forefront of the script! Cause: The script executes sequentially.

Iv. concurrency

Click Tools-background Threads, set in the pop-up box

V. Reporting

in View-report-detailsreport, such as:

Six, breakpoints

Select where you want to set the breakpoint, and click "Togglebreak Point"

JMeter Learning (29) Automated Badboy Script development Technology

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.