In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Preparations:
1, install jdk1.7
2. Install MockServer to simulate webservices or interfaces
Specific reference:
http://www.cnblogs.com/111testing/p/6091460.html
3, open source version and executable version can be downloaded in Apache official, after decompression open the bin directory jmeter.bat file, that is, open the user interface
4. Start MocoServer
java -jar moco-runner-0.11.0-standalone.jar http -p 12306 -c config.json
Second, Jmeter operation
1. Open jmeter and right-click 'Test Plan'-Threads-Thread Group to create a thread group. Add thread group: right-click "Test Plan"--> Add-->threads(Users)--> thread group, add test scenario setting component, generally set to 1 "thread number" in interface test, and set "cycle number" according to the number of test data.
2. Right-click Thread Group-Add-Configure Component-HTTP Request Default.
HTTP Request Default is to set a default for each HTTP request below, that is, you set it once here, and then each HTTP request can reuse some settings. I only filled in the domain name here, the rest are default values
3, add HTTP request: thread group right-click--add-- Simpler -- HTTP request.
Write information about the web server, HTTP request and JSON message in the HTTP request (in this case, put the JSON string in Body Data), or you can put JSON directly in Parameters.
4, add view result tree: thread group right-click--add--listener--view result tree.
5. Save the project, click the Start button, and run the test script.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.