大网数据广告活动
服务器运维问答

Capturing HTTP requests for JMeter Raw Data Source

· 52CE 我爱测

I'm trying to capture raw http requests for re-playing it later using JMeter and Raw Data Source plugin. I've tried tshark/tcpdump but it captures the whole TCP data which I dont need, moreover, it cannot save such format to the …

问题原文

原帖链接 · kreuzerkrieg · CC BY-SA 3.0

I'm trying to capture raw http requests for re-playing it later using JMeter and Raw Data Source plugin. I've tried tshark/tcpdump but it captures the whole TCP data which I dont need, moreover, it cannot save such format to the file, I dont want to use any web server logging plugin to do it, since when you get access to the request data it is usually already parsed by the server, so you have to recreate the raw request which defeats the idea of "rawness". To put it simple, I want to capture HTTP request as they on the wire, before it got parsed or whatever and I want to save it to a file. is it possible? how?

已采纳解答

原帖链接 · jayooin · CC BY-SA 4.0

I suggest the use of WAPT. Just use it for the requests you need. You can select a browser, capture the HTTP requests and more.

Then use what you captured and import it in Jmeter. I did it this way, it is quite good.

Note: You don't have to use the Pro version.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2016-07-13)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0 / CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。