Stack Overflow
  1. 首页
  2. 工具
  3. 网站转让
  1. 首页
    1. 导航
    2. 问题
    3. 标签
    1. Teams
      Stack Overflow for Teams – Start collaborating and sharing organizational knowledge. Create a free Team Why Teams?
    2. Teams
    3. Create free Team
Collectives on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more

redirect - 如何使用重定向从 Jmeter 中提取 Web 表单的参数

翻译自:https://stackoverflow.com/questions/62172739 2020-06-03T12:22:09.280
37 次
This question shows research effort; it is useful and clear
0
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.

在此处输入图像描述Hi so my webform navigates from : http://43.252.88.109:4006/BracketICT/?t=aZCcbzidJJKfFgrkk1RYPH0zHTl+MtTuoGeiUw0hEw48nLZUoPrfntO29VV2daEiR3cPbu25/Xf2a3Q1UMZs1tAoUDti4wBVbYQbRHhhBDTt0Z1yTrWlkWKunP18DkVBkRSSVMdiHYyQ=&uniqueID=dGdck61pZFirpz9fA5FQZFhakSeoICZ9&dev=1696661 to http://43.252.88.109:4006/BracketICT/examstart.aspx 图 1 说明页面请求[![][1] ] 3 即从在此处输入图像描述说明页面到考试开始页面的点击![考试开始按钮。我在录制过程中的 Jmeter 响应显示链接:http://43.252.88.109:4006/BracketICT/examstart.aspx 接受两个参数,即尝试 ID 或记录 ID。当用户单击开始测试并登陆考试页面时,这些值会在考试开始屏幕的位置参数上生成。我对 http://43.252.88.109:4006/BracketICT/examstart.aspx 的回复没有在 JMeter 上显示位置参数。在这种情况下,如何在重定向期间动态提取尝试 ID 或记录 ID?] 5

redirectwebformsjmeter
4

1 回答 1

This answer is useful
0

你需要:

  1. 在View Results Tree侦听器中展开从顶部开始的第三个示例结果
  2. 切换到“响应标头”选项卡

    在此处输入图像描述

    在那里您应该能够看到Location标头,您将能够使用正则表达式提取器attemptid提取这些和recordid值

于 2020-06-03T16:22:04.400 回答

Related

2
c# - How to detect the installation and start MySQL server automatically from an application built in C#
3
php - Incorporating extra loop into random selection?
1
c - writing a glibc api for a system call
2
c++ - Overload math operators
3
android - Sending apps to other devices
3
jsf - Matching element id's with JSF dynamic view Id
2
java - 仅在第一次出现时使用特殊符号在Java中拆分字符串?
2
asp.net - SetAuthCookie 如何适用于两个不同的站点
2
c# - 如何区分价值观组?
2
wpf - DependencyProperty ObservableCollection 事件

Reference

php × 1429865
c/c++ × 756500
nginx × 49975
mongodb × 159057
mybatis × 3233
anaconda × 13410
pycharm × 14671
python × 1902243
vscode × 56040
docker × 110988
github × 49000
flask × 49129
ffmpeg × 24037
jmeter × 16910
matplotlib × 63493
bootstrap × 54641
Stack Overflow 中文网

遵从 CC BY-SA 知识共享许可协议。