动态添加从属请求 [英] Dynamically Add Dependent Request
问题描述
是否可以使用WebTestRequestPlugin(或其他插件机制)动态地向Web请求添加依赖请求?
Is it possible to dynamically add a dependent request to a web request by using a WebTestRequestPlugin (or other plugin mechanism)?
是否可以动态创建新的Web通过使用WebTestRequestPlugin(或其他插件机制)请求?
Is it possible to dynamically create a new web request by using a WebTestRequestPlugin (or other plugin mechanism)?
相关的测试场景是:
- 预先录制的"搜索"请求是使用随机搜索字符串完成的
- A pre-recorded 'Search' request is done with a random search string
- 解析请求响应正文并提取数据以用于动态生成的相关请求或可能的新请求
- The request response body is parsed and data is extracted to be used in dynamically generated dependent requests or possibly new requests
谢谢!
推荐答案
应该可以。 您应该能够发送请求并使用HTTPWebRequest / HTTPWebRepsonse解析响应
It should be possible. You should be able to send a request and parse the response using HTTPWebRequest/HTTPWebRepsonse
谢谢,
Anuj
这篇关于动态添加从属请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!