我想捕获响应标题位置:特别是100号,所以我可以在另一个请求中使用它作为变量.我怎样才能做到这一点 ?
请求
远程地址:57.98.32.25:80
请求网址:http://57.98.32.25/new_events
请求方法:POST
状态代码:200 OK
响应标题
缓存控制:无缓存
连接:关闭内容编码:gzip
内容长度:105
内容类型:text/html; 日期:星期四,2015年8月27日6时37分31秒格林尼治标准时间地点:http://57.98.32.25/new_events/ 100
服务器:Apache/2.2.15
Dmi*_*i T 12
您可以通过如下配置的Regular Expression Extractor来完成:
Response Headerslocationnew_events/(\d+)$1$如果存在重定向且主样本中的Location标头不可用,您可能还需要将"Apply to"值切换为"Main sample and sub-samples",使用View Results Tree监听器来确定它.
请参考提取值${location}或${__V(location)}在需要时提取.
| 归档时间: |
|
| 查看次数: |
9475 次 |
| 最近记录: |