Badboy Recording Script parameterization

Source: Internet
Author: User

JMeter recording scripts with Badboy tools

Simple parameter modification

The first step is to record the scene first:

A. Start recording, open the browser

B. Enter the text "Badboy" in the input box

C. Enter to turn off recording.

See, find Variables panel, right mouse button in the margin, click "Add Variables ..."

Enter the variable name, and the value of the variable, which can be multiple

Click OK

modifying parameters using Variables

Add an assertion, select where you want to assert, point Tools->add assertion for Selection

Modify the argument variable of the assertion, where the asserted value is also the variable of the search, which can be re-added according to the project requirement

To prevent the characters from being garbled when they run, we change the UTF8 to GBK

To modify the number of times the script executes, we choose to loop the value added when the variable was just defined.

OK, done, choose all run Try it!

Badboy Recording Script parameterization

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: 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.