Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to change the name of a given variable when jmeter is called

2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

When the jmeter file is called, there is a problem. The name of the variable in the called file (called basic file) is code. When calling the basic file, you should first find code in the database, and then enter it as a parameter. After the database query, the variable will be called using ${code_1}, which is different from the name defined in basic. How to solve this problem?

The following examples are given:

Basic file:

Call the basic file:

To put it simply, this situation applies to situations where basic files cannot be changed. For example, basic has been called by many other files, and changing the name will cause other files to go wrong. If you can change the basic file, just change the parameter name to code_1.

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.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report