简体   繁体   中英

JMeter: Variable to HTTP request

In JMeter, I have a variable which contains HTTP request as it is (the method, URL, headers and payload). How can I send this HTTP request in JMeter?

If you have a single variable which represents full HTTP request contents in a textual form the easiest solution would be going for HTTP Raw Request sampler.

Just put your variable into "Request Data" section and that would be it

JMeter HTTP原始请求

You can install HTTP Raw Request sampler using JMeter Plugins Manager

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM