In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article is about how Jmeter saves test data, test cases, and exports test results to Excel via CSV. Xiaobian thinks it is quite practical, so share it with everyone for reference. Let's follow Xiaobian and have a look.
1. CSV saves test data and uploads it to CSV Data Set Config to set related attributes.
2. Save test cases in CSV and upload them to CSV Data Set Config to set relevant properties.
3. Set an http request, and set the value of the request parameter to a parameterized form to obtain: ${}
4. Under post request, add regular extractor, extract response result and put it into fresult
5. An external jar package is introduced into jmeter. The function of this jar package includes the template for creating test results and writing test results.
6. Add a beanshell sampler. Users create Excel case templates, call Create Excel file in jar package in beanshell, and save filepath of test template to jmeter.
7. Add another beanshell and write the test results back to Excel.
Attachment: jar package to create Excel template and write the execution results method, you need to import jxl.jar package in the project, note: export jar package way: export can run jar package, export jar package into the project can be
Thank you for reading! About "Jmeter how to save test data, test cases and export test results to Excel through CSV" This article is shared here, I hope the above content can be of some help to everyone, so that everyone can learn more knowledge, if you think the article is good, you can share it to let more people see it!
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.